You are here

public function ExtensibleParserInterface::extension in Markdown 8.2

Retrieves a specific extension plugin instance.

Parameters

string $extensionId: The identifier of the extension plugin instance to return.

Return value

\Drupal\markdown\Plugin\Markdown\ExtensionInterface|null A markdown extension instance or NULL if it doesn't exist.

1 method overrides ExtensibleParserInterface::extension()
BaseExtensibleParser::extension in src/Plugin/Markdown/BaseExtensibleParser.php
Retrieves a specific extension plugin instance.

File

src/Plugin/Markdown/ExtensibleParserInterface.php, line 21

Class

ExtensibleParserInterface
Interface MarkdownInterface.

Namespace

Drupal\markdown\Plugin\Markdown

Code

public function extension($extensionId);