You are here

public function MarkdownPluginManagerInterface::getLabels in Markdown 3.0.x

Retrieves the labels for parsers.

Parameters

bool $installed: Flag indicating whether to return just the installed parsers.

bool $version: Flag indicating whether to include the version with the label.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup[] An array of labels, keyed by parser identifier.

File

src/MarkdownPluginManagerInterface.php, line 45

Class

MarkdownPluginManagerInterface

Namespace

Drupal\markdown

Code

public function getLabels($installed = TRUE, $version = TRUE) : array;