FilterInterface::TYPE_HTML_RESTRICTOR

Same name in other branches
  1. 9 core/modules/filter/src/Plugin/FilterInterface.php \Drupal\filter\Plugin\FilterInterface::TYPE_HTML_RESTRICTOR
  2. 10 core/modules/filter/src/Plugin/FilterInterface.php \Drupal\filter\Plugin\FilterInterface::TYPE_HTML_RESTRICTOR
  3. 11.x core/modules/filter/src/Plugin/FilterInterface.php \Drupal\filter\Plugin\FilterInterface::TYPE_HTML_RESTRICTOR

HTML tag and attribute restricting filters to prevent XSS attacks.

File

core/modules/filter/src/Plugin/FilterInterface.php, line 90

Class

FilterInterface
Defines the interface for text processing filter plugins.

Namespace

Drupal\filter\Plugin

Code

const TYPE_HTML_RESTRICTOR = 1;

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