You are here

public function FilterBase::getLabel in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/filter/src/Plugin/FilterBase.php \Drupal\filter\Plugin\FilterBase::getLabel()

Returns the administrative label for this filter plugin.

Return value

string

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