public function MarkdownInstallablePluginInterface::getLabel in Markdown 3.0.x
Displays the human-readable label of the plugin.
Parameters
bool $version: Flag indicating whether to show the version with the label.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The label.
2 methods override MarkdownInstallablePluginInterface::getLabel()
- BaseExtension::getLabel in src/
Plugin/ Markdown/ Extension/ BaseExtension.php - Displays the human-readable label of the plugin.
- BaseParser::getLabel in src/
Plugin/ Markdown/ BaseParser.php - Displays the human-readable label of the plugin.
File
- src/
Plugin/ Markdown/ MarkdownInstallablePluginInterface.php, line 40
Class
Namespace
Drupal\markdown\Plugin\MarkdownCode
public function getLabel($version = TRUE);