function AllowedTagsXssTrait::allowedTags
Returns a list of tags allowed by AllowedTagsXssTrait::fieldFilterXss().
File
-
core/
lib/ Drupal/ Core/ Field/ AllowedTagsXssTrait.php, line 40
Class
- AllowedTagsXssTrait
- Useful methods when dealing with displaying allowed tags.
Namespace
Drupal\Core\FieldCode
public function allowedTags() {
@trigger_error(__METHOD__ . ' is deprecated in drupal:8.0.0 and is removed in drupal:9.0.0. Use \\Drupal\\Core\\Field\\FieldFilteredMarkup::allowedTags() instead.', E_USER_DEPRECATED);
return FieldFilteredMarkup::allowedTags();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.