function FilterInterface::getType
Same name in other branches
- 9 core/modules/filter/src/Plugin/FilterInterface.php \Drupal\filter\Plugin\FilterInterface::getType()
- 8.9.x core/modules/filter/src/Plugin/FilterInterface.php \Drupal\filter\Plugin\FilterInterface::getType()
- 11.x core/modules/filter/src/Plugin/FilterInterface.php \Drupal\filter\Plugin\FilterInterface::getType()
Returns the processing type of this filter plugin.
Return value
int One of:
- FilterInterface::TYPE_MARKUP_LANGUAGE
- FilterInterface::TYPE_HTML_RESTRICTOR
- FilterInterface::TYPE_TRANSFORM_REVERSIBLE
- FilterInterface::TYPE_TRANSFORM_IRREVERSIBLE
1 method overrides FilterInterface::getType()
- FilterBase::getType in core/
modules/ filter/ src/ Plugin/ FilterBase.php - Returns the processing type of this filter plugin.
File
-
core/
modules/ filter/ src/ Plugin/ FilterInterface.php, line 111
Class
- FilterInterface
- Defines the interface for text processing filter plugins.
Namespace
Drupal\filter\PluginCode
public function getType();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.