You are here

public function ShortcodeBase::getLabel in Shortcode 8

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

Returns the administrative label for this shortcode plugin.

Return value

string Administrative label.

Overrides ShortcodeInterface::getLabel

File

src/Plugin/ShortcodeBase.php, line 126

Class

ShortcodeBase
Provides a base class for Shortcode plugins.

Namespace

Drupal\shortcode\Plugin

Code

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