Search for allowedTags
- Search 7.x for allowedTags
- Search 9.5.x for allowedTags
- Search 10.3.x for allowedTags
- Search 11.x for allowedTags
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| AllowedTagsXssTrait | trait | core/ |
Useful methods when dealing with displaying allowed tags. |
| AllowedTagsXssTrait.php | file | core/ |
|
| AllowedTagsXssTrait::allowedTags | function | core/ |
Returns a list of tags allowed by AllowedTagsXssTrait::fieldFilterXss(). |
| AllowedTagsXssTrait::displayAllowedTags | function | core/ |
Returns a human-readable list of allowed tags for display in help texts. |
| AllowedTagsXssTrait::fieldFilterXss | function | core/ |
Filters an HTML string to prevent XSS vulnerabilities. |
| AllowedTagsXssTraitDeprecateTest | class | core/ |
Tests AllowedTagsXssTrait. |
| AllowedTagsXssTraitDeprecateTest.php | file | core/ |
|
| AllowedTagsXssTraitDeprecateTest::testDeprecation | function | core/ |
@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/ |
Class FieldDeprecateAllowedTagsXssTraitClass |
| FieldFilteredMarkup::allowedTags | function | core/ |
Returns the allowed tag list. |
| FieldFilteredMarkup::displayAllowedTags | function | core/ |
Returns a human-readable list of allowed tags for display in help texts. |
| FieldFilteredMarkupTest::testdisplayAllowedTags | function | core/ |
@covers: ::displayAllowedTags[[api-linebreak]] |
| Standard::getAllowedTags | function | core/ |
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.