function drupal_explode_tags

Explodes a string of tags into an array.

Deprecated

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

See also

drupal_implode_tags()

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

14 calls to drupal_explode_tags()
AutocompleteTagsWidget::elementValidate in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteTagsWidget.php
Overrides \Drupal\entity_reference\Plugin\field\widget\AutocompleteWidgetBase::elementValidate()
EntityReferenceController::handleAutocomplete in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/EntityReferenceController.php
Autocomplete the label of an entity.
Name::validateExposed in drupal/core/modules/user/lib/Drupal/user/Plugin/views/filter/Name.php
Validate the exposed handler form
Name::valueValidate in drupal/core/modules/user/lib/Drupal/user/Plugin/views/filter/Name.php
Validate the options form.
system_plugin_autocomplete in drupal/core/modules/system/system.module
Page callback: Autocompletes any plugin system tied to a plugin UI plugin.

... See full list

File

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

Code

function drupal_explode_tags($tags) {
  return Tags::explode($tags);
}