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

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