function FilterNull::getHTMLRestrictions
Same name in other branches
- 9 core/modules/filter/src/Plugin/Filter/FilterNull.php \Drupal\filter\Plugin\Filter\FilterNull::getHTMLRestrictions()
- 10 core/modules/filter/src/Plugin/Filter/FilterNull.php \Drupal\filter\Plugin\Filter\FilterNull::getHTMLRestrictions()
- 11.x core/modules/filter/src/Plugin/Filter/FilterNull.php \Drupal\filter\Plugin\Filter\FilterNull::getHTMLRestrictions()
Overrides FilterBase::getHTMLRestrictions
File
-
core/
modules/ filter/ src/ Plugin/ Filter/ FilterNull.php, line 53
Class
- FilterNull
- Provides a fallback placeholder filter to use for missing filters.
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.