You are here

public function PatternSettingTypeBase::getDescription in UI Patterns Settings 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/PatternSettingTypeBase.php \Drupal\ui_patterns_settings\Plugin\PatternSettingTypeBase::getDescription()

File

src/Plugin/PatternSettingTypeBase.php, line 151

Class

PatternSettingTypeBase
Base class for UI Patterns Setting plugins.

Namespace

Drupal\ui_patterns_settings\Plugin

Code

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