You are here

public function ConfigurablePluginBase::getDescription in Search API 8

Returns the plugin's description.

Return value

string A string describing the plugin. Might contain HTML and should be already sanitized for output.

Overrides ConfigurablePluginInterface::getDescription

File

src/Plugin/ConfigurablePluginBase.php, line 59

Class

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

Namespace

Drupal\search_api\Plugin

Code

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