You are here

public function DataTypePluginBase::getDescription in Search API 8

Returns the description of the data type.

Overrides DataTypeInterface::getDescription

File

src/DataType/DataTypePluginBase.php, line 84

Class

DataTypePluginBase
Defines a base class from which other data type classes may extend.

Namespace

Drupal\search_api\DataType

Code

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