function drupal_implode_tags

Implodes an array of tags into a string.

Deprecated

as of Drupal 8.0. Use Tags::implode() instead.

See also

drupal_explode_tags()

\Drupal\Component\Utility\String::implodeTags().

6 calls to drupal_implode_tags()
EntityReferenceController::handleAutocomplete in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/EntityReferenceController.php
Autocomplete the label of an entity.
taxonomy_autocomplete in drupal/core/modules/taxonomy/taxonomy.pages.inc
Page callback: Outputs JSON for taxonomy autocomplete suggestions.
TermTest::testNodeTermCreationAndDeletion in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTest.php
Test term creation with a free-tagging vocabulary from the node form.
UnpublishByKeywordComment::form in drupal/core/modules/comment/lib/Drupal/comment/Plugin/Action/UnpublishByKeywordComment.php
Form constructor.
UnpublishByKeywordNode::form in drupal/core/modules/node/lib/Drupal/node/Plugin/Action/UnpublishByKeywordNode.php
Form constructor.

... See full list

File

drupal/core/includes/common.inc, line 5531
Common functions that many Drupal modules will need to reference.

Code

function drupal_implode_tags($tags) {
  return Tags::implode($tags);
}