public function FilterBase::getType in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/filter/src/Plugin/FilterBase.php \Drupal\filter\Plugin\FilterBase::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
Overrides FilterInterface::getType
File
- core/
modules/ filter/ src/ Plugin/ FilterBase.php, line 127 - Contains \Drupal\filter\Plugin\FilterBase.
Class
- FilterBase
- Provides a base class for Filter plugins.
Namespace
Drupal\filter\PluginCode
public function getType() {
return $this->pluginDefinition['type'];
}