W3cubDocs

/Drupal 8

public function AllowedTagsXssTrait::displayAllowedTags

public AllowedTagsXssTrait::displayAllowedTags()

Returns a human-readable list of allowed tags for display in help texts.

File

core/lib/Drupal/Core/Field/AllowedTagsXssTrait.php, line 46

Class

AllowedTagsXssTrait
Useful methods when dealing with displaying allowed tags.

Namespace

Drupal\Core\Field

Code

public function displayAllowedTags() {
  return FieldFilteredMarkup::displayAllowedTags();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!AllowedTagsXssTrait.php/function/AllowedTagsXssTrait::displayAllowedTags/8.1.x