You are here

public function ShortcodeBase::getDescription in Shortcode 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/ShortcodeBase.php \Drupal\shortcode\Plugin\ShortcodeBase::getDescription()

Returns the administrative description for this shortcode plugin.

Return value

string Administrative description.

Overrides ShortcodeInterface::getDescription

File

src/Plugin/ShortcodeBase.php, line 133

Class

ShortcodeBase
Provides a base class for Shortcode plugins.

Namespace

Drupal\shortcode\Plugin

Code

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