You are here

public function ParserAwareTrait::getParser in Markdown 8.2

4 calls to ParserAwareTrait::getParser()
BaseExtension::register in src/Plugin/Markdown/CommonMark/BaseExtension.php
Allows the extension to register itself with the CommonMark Environment.
FilterHtml::getHTMLRestrictions in src/Util/FilterHtml.php
Returns HTML allowed by this filter's configuration.
ParserConfigurationForm::buildParser in src/Form/ParserConfigurationForm.php
Builds the parser form elements.
ParserConfigurationForm::processSubform in src/Form/ParserConfigurationForm.php
Process callback for constructing markdown settings for a parser.
1 method overrides ParserAwareTrait::getParser()
FilterMarkdown::getParser in src/Plugin/Filter/FilterMarkdown.php
Retrieves the MarkdownParser plugin for this filter.

File

src/Traits/ParserAwareTrait.php, line 22

Class

ParserAwareTrait
Trait for implementing \Drupal\markdown\Util\ParserAwareInterface.

Namespace

Drupal\markdown\Traits

Code

public function getParser() {
  return $this->parser;
}