function FilterHtmlEscape::getHTMLRestrictions
Same name in other branches
- 8.9.x core/modules/filter/src/Plugin/Filter/FilterHtmlEscape.php \Drupal\filter\Plugin\Filter\FilterHtmlEscape::getHTMLRestrictions()
- 10 core/modules/filter/src/Plugin/Filter/FilterHtmlEscape.php \Drupal\filter\Plugin\Filter\FilterHtmlEscape::getHTMLRestrictions()
- 11.x core/modules/filter/src/Plugin/Filter/FilterHtmlEscape.php \Drupal\filter\Plugin\Filter\FilterHtmlEscape::getHTMLRestrictions()
Overrides FilterBase::getHTMLRestrictions
File
-
core/
modules/ filter/ src/ Plugin/ Filter/ FilterHtmlEscape.php, line 30
Class
- FilterHtmlEscape
- Provides a filter to display any HTML as plain text.
Namespace
Drupal\filter\Plugin\FilterCode
public function getHTMLRestrictions() {
// Nothing is allowed.
return [
'allowed' => [],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.