function FilterBase::getLabel

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

Overrides FilterInterface::getLabel

1 call to FilterBase::getLabel()
FilterTestReplace::process in core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestReplace.php
Performs the filter processing.

File

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

Class

FilterBase
Provides a base class for Filter plugins.

Namespace

Drupal\filter\Plugin

Code

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

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