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\DisplayCode
public function label() {
$plugin_definition = $this
->getPluginDefinition();
return $plugin_definition['label'];
}