You are here

public function AllowedTagsXssTrait::displayAllowedTags in Drupal 8

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

File

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

Class

AllowedTagsXssTrait
Useful methods when dealing with displaying allowed tags.

Namespace

Drupal\Core\Field

Code

public function displayAllowedTags() {
  @trigger_error(__METHOD__ . ' is deprecated in drupal:8.0.0 and is removed in drupal:9.0.0. Use \\Drupal\\Core\\Field\\FieldFilteredMarkup::displayAllowedTags() instead.', E_USER_DEPRECATED);
  return FieldFilteredMarkup::displayAllowedTags();
}