You are here

public function BaseExtensibleParser::getPluginCollections in Markdown 8.2

Gets the plugin collections used by this object.

Return value

\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.

Overrides ObjectWithPluginCollectionInterface::getPluginCollections

File

src/Plugin/Markdown/BaseExtensibleParser.php, line 137

Class

BaseExtensibleParser
Base class for extensible markdown parsers.

Namespace

Drupal\markdown\Plugin\Markdown

Code

public function getPluginCollections() {
  return [
    'extensions' => $this
      ->extensions(),
  ];
}