function AllowedTagsXssTrait::displayAllowedTags
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\FieldCode
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();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.