You are here

public function ConfigurablePluginBase::label in Search API 8

Returns the label for use on the administration pages.

Return value

string The administration label.

Overrides ConfigurablePluginInterface::label

3 calls to ConfigurablePluginBase::label()
ContentEntity::getBundles in src/Plugin/search_api/datasource/ContentEntity.php
Retrieves the bundles associated to this datasource.
DatasourcePluginBase::getBundles in src/Datasource/DatasourcePluginBase.php
Retrieves the bundles associated to this datasource.
ProcessorPluginBase::ensureField in src/Processor/ProcessorPluginBase.php
Ensures that a field with certain properties is indexed on the index.

File

src/Plugin/ConfigurablePluginBase.php, line 51

Class

ConfigurablePluginBase
Provides a base class for all configurable Search API plugins.

Namespace

Drupal\search_api\Plugin

Code

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