You are here

public function AdministrationLanguageNegotiationConditionBase::getDescription in Administration Language Negotiation 8

Returns the description of the plugin.

If the description is not set, returns NULL.

Return value

string|null The description of the plugin.

Overrides AdministrationLanguageNegotiationConditionInterface::getDescription

File

src/AdministrationLanguageNegotiationConditionBase.php, line 41

Class

AdministrationLanguageNegotiationConditionBase
Base class for administration language administration condition.

Namespace

Drupal\administration_language_negotiation

Code

public function getDescription() {
  $definition = $this
    ->getPluginDefinition();
  return !empty($definition['description']) ? $definition['description'] : NULL;
}