function FilterBase::getHTMLRestrictions

Same name in other branches
  1. 9 core/modules/filter/src/Plugin/FilterBase.php \Drupal\filter\Plugin\FilterBase::getHTMLRestrictions()
  2. 10 core/modules/filter/src/Plugin/FilterBase.php \Drupal\filter\Plugin\FilterBase::getHTMLRestrictions()
  3. 11.x core/modules/filter/src/Plugin/FilterBase.php \Drupal\filter\Plugin\FilterBase::getHTMLRestrictions()

Overrides FilterInterface::getHTMLRestrictions

4 methods override FilterBase::getHTMLRestrictions()
FilterHtml::getHTMLRestrictions in core/modules/filter/src/Plugin/Filter/FilterHtml.php
Returns HTML allowed by this filter's configuration.
FilterHtmlEscape::getHTMLRestrictions in core/modules/filter/src/Plugin/Filter/FilterHtmlEscape.php
Returns HTML allowed by this filter's configuration.
FilterNull::getHTMLRestrictions in core/modules/filter/src/Plugin/Filter/FilterNull.php
Returns HTML allowed by this filter's configuration.
FilterTestRestrictTagsAndAttributes::getHTMLRestrictions in core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestRestrictTagsAndAttributes.php
Returns HTML allowed by this filter's configuration.

File

core/modules/filter/src/Plugin/FilterBase.php, line 146

Class

FilterBase
Provides a base class for Filter plugins.

Namespace

Drupal\filter\Plugin

Code

public function getHTMLRestrictions() {
    return FALSE;
}

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