public function AllowedTagsXssTrait::allowedTags

public AllowedTagsXssTrait::allowedTags()

Returns a list of tags allowed by AllowedTagsXssTrait::fieldFilterXss().

File

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

Class

AllowedTagsXssTrait
Useful methods when dealing with displaying allowed tags.

Namespace

Drupal\Core\Field

Code

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

© 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::allowedTags/8.1.x