function drupal_implode_tags

cis7 drupal_implode_tags($tags)
cle7 drupal_implode_tags($tags)
elmsmedia7 drupal_implode_tags($tags)
icor7 drupal_implode_tags($tags)
meedjum_blog7 drupal_implode_tags($tags)
mooc7 drupal_implode_tags($tags)

Implodes an array of tags into a string.

See also


6 calls to drupal_implode_tags()
comment_unpublish_by_keyword_action_form in modules/comment/comment.module
Form builder; Prepare a form for blacklisted keywords.
masquerade_admin_settings in sites/all/modules/ulmus/masquerade/masquerade.module
Admin settings form.
masquerade_form_user_profile_form_alter in sites/all/modules/ulmus/masquerade/masquerade.module
Implements hook_form_FORM_ID_alter().
node_unpublish_by_keyword_action_form in modules/node/node.module
Generates settings form for node_unpublish_by_keyword_action().
taxonomy_autocomplete in modules/taxonomy/
Page callback: Outputs JSON for taxonomy autocomplete suggestions.

... See full list


includes/, line 7434
Common functions that many Drupal modules will need to reference.


function drupal_implode_tags($tags) {
  $encoded_tags = array();
  foreach ($tags as $tag) {
    // Commas and quotes in tag names are special cases, so encode them.
    if (strpos($tag, ',') !== FALSE || strpos($tag, '"') !== FALSE) {
      $tag = '"' . str_replace('"', '""', $tag) . '"';

    $encoded_tags[] = $tag;
  return implode(', ', $encoded_tags);



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.