You are here

public function DisplayPluginBase::label in Search API 8

Returns the display label.

Return value

string A human-readable label for the display.

Overrides DisplayInterface::label

File

src/Display/DisplayPluginBase.php, line 113

Class

DisplayPluginBase
Defines a base class from which other display classes may extend.

Namespace

Drupal\search_api\Display

Code

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