Search for allowedTags

  1. Search 7.x for allowedTags
  2. Search 9.5.x for allowedTags
  3. Search 10.3.x for allowedTags
  4. Search 11.x for allowedTags
  5. Other projects
Title Object type File name Summary
AllowedTagsXssTrait trait core/lib/Drupal/Core/Field/AllowedTagsXssTrait.php Useful methods when dealing with displaying allowed tags.
AllowedTagsXssTrait.php file core/lib/Drupal/Core/Field/AllowedTagsXssTrait.php
AllowedTagsXssTrait::allowedTags function core/lib/Drupal/Core/Field/AllowedTagsXssTrait.php Returns a list of tags allowed by AllowedTagsXssTrait::fieldFilterXss().
AllowedTagsXssTrait::displayAllowedTags function core/lib/Drupal/Core/Field/AllowedTagsXssTrait.php Returns a human-readable list of allowed tags for display in help texts.
AllowedTagsXssTrait::fieldFilterXss function core/lib/Drupal/Core/Field/AllowedTagsXssTrait.php Filters an HTML string to prevent XSS vulnerabilities.
AllowedTagsXssTraitDeprecateTest class core/tests/Drupal/Tests/Core/Field/AllowedTagsXssTraitDeprecateTest.php Tests AllowedTagsXssTrait.
AllowedTagsXssTraitDeprecateTest.php file core/tests/Drupal/Tests/Core/Field/AllowedTagsXssTraitDeprecateTest.php
AllowedTagsXssTraitDeprecateTest::testDeprecation function core/tests/Drupal/Tests/Core/Field/AllowedTagsXssTraitDeprecateTest.php @expectedDeprecation Drupal\Core\Field\AllowedTagsXssTrait::fieldFilterXss is deprecated in drupal:8.0.0 and is removed in drupal:9.0.0. Use \Drupal\Core\Field\FieldFilteredMarkup::create() instead.
@expectedDeprecation…
FieldDeprecateAllowedTagsXssTraitClass class core/tests/Drupal/Tests/Core/Field/AllowedTagsXssTraitDeprecateTest.php Class FieldDeprecateAllowedTagsXssTraitClass
FieldFilteredMarkup::allowedTags function core/lib/Drupal/Core/Field/FieldFilteredMarkup.php Returns the allowed tag list.
FieldFilteredMarkup::displayAllowedTags function core/lib/Drupal/Core/Field/FieldFilteredMarkup.php Returns a human-readable list of allowed tags for display in help texts.
FieldFilteredMarkupTest::testdisplayAllowedTags function core/tests/Drupal/Tests/Core/Field/FieldFilteredMarkupTest.php @covers: ::displayAllowedTags
Standard::getAllowedTags function core/modules/editor/src/EditorXssFilter/Standard.php Get all allowed tags from a restrictions data structure.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.