You are here

public function ParseModePluginBase::label in Search API 8

Returns the label of the parse mode.

Return value

string The administration label.

Overrides ParseModeInterface::label

File

src/ParseMode/ParseModePluginBase.php, line 53

Class

ParseModePluginBase
Defines a base class from which other parse mode classes may extend.

Namespace

Drupal\search_api\ParseMode

Code

public function label() {
  $plugin_definition = $this
    ->getPluginDefinition();
  return $plugin_definition['label'];
}