You are here

public function FilterBase::getType in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/filter/src/Plugin/FilterBase.php \Drupal\filter\Plugin\FilterBase::getType()
  2. 10 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:

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'];
}