function public function SettingBase::getDescription

8.x-3.x SettingBase.php public SettingBase::getDescription()

Retrieves the setting's description, if any.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The setting description.

Overrides SettingInterface::getDescription

Class

SettingBase
Base class for a setting.

Namespace

Drupal\bootstrap\Plugin\Setting

Source src/Plugin/Setting/SettingBase.php (line 103)

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