You are here

public function AllowedTagsXssTrait::displayAllowedTags in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Field/AllowedTagsXssTrait.php \Drupal\Core\Field\AllowedTagsXssTrait::displayAllowedTags()

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

3 calls to AllowedTagsXssTrait::displayAllowedTags()
ListFloatItem::allowedValuesDescription in core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php
Provides the field type specific allowed values form element #description.
ListIntegerItem::allowedValuesDescription in core/modules/options/src/Plugin/Field/FieldType/ListIntegerItem.php
Provides the field type specific allowed values form element #description.
ListStringItem::allowedValuesDescription in core/modules/options/src/Plugin/Field/FieldType/ListStringItem.php
Provides the field type specific allowed values form element #description.

File

core/lib/Drupal/Core/Field/AllowedTagsXssTrait.php, line 50
Contains \Drupal\Core\Field\AllowedTagsXssTrait.

Class

AllowedTagsXssTrait
Useful methods when dealing with displaying allowed tags.

Namespace

Drupal\Core\Field

Code

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