function FilterBase::getType

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

Overrides FilterInterface::getType

File

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

Class

FilterBase
Provides a base class for Filter plugins.

Namespace

Drupal\filter\Plugin

Code

public function getType() {
    return $this->pluginDefinition['type'];
}

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