You are here

public function ProcessorPluginBase::getDescription in Facets 8

Same name in this branch
  1. 8 src/Processor/ProcessorPluginBase.php \Drupal\facets\Processor\ProcessorPluginBase::getDescription()
  2. 8 modules/facets_summary/src/Processor/ProcessorPluginBase.php \Drupal\facets_summary\Processor\ProcessorPluginBase::getDescription()

Retrieves the processor description.

Return value

string The description of this processor.

Overrides ProcessorInterface::getDescription

File

modules/facets_summary/src/Processor/ProcessorPluginBase.php, line 67

Class

ProcessorPluginBase
A base class for plugins that implements most of the boilerplate.

Namespace

Drupal\facets_summary\Processor

Code

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