You are here

public function SearchApiAutocompleteSuggesterPluginBase::label in Search API Autocomplete 7

Retrieves the plugin's label.

Return value

string The plugin's human-readable and translated label.

Overrides SearchApiAutocompleteSuggesterInterface::label

File

src/SearchApiAutocompleteSuggesterPluginBase.php, line 104
Contains SearchApiAutocompleteSuggesterPluginBase.

Class

SearchApiAutocompleteSuggesterPluginBase
Provides a base class for suggester plugins.

Code

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