public function LanguageSelectionPageConditionBase::getDescription in Language Selection Page 8.2
Returns the description of the plugin.
If the description is not set, returns NULL.
Return value
string|null The description of the plugin.
Overrides LanguageSelectionPageConditionInterface::getDescription
File
- src/
LanguageSelectionPageConditionBase.php, line 53
Class
- LanguageSelectionPageConditionBase
- Base class for language selection page condition.
Namespace
Drupal\language_selection_pageCode
public function getDescription() {
$definition = $this
->getPluginDefinition();
return !empty($definition['description']) ? $definition['description'] : NULL;
}