You are here

public function MissingParser::getCustomAllowedHtml in Markdown 8.2

Retrieves the custom (user provided) allowed HTML.

Return value

string The user provided (custom) allowed HTML.

Overrides RenderStrategyInterface::getCustomAllowedHtml

2 calls to MissingParser::getCustomAllowedHtml()
MissingParser::getAllowedHtml in src/Plugin/Markdown/MissingParser.php
MissingParser::getConfiguration in src/Plugin/Markdown/MissingParser.php
Gets this plugin's configuration.

File

src/Plugin/Markdown/MissingParser.php, line 86

Class

MissingParser
The parser used as a fallback when the requested one doesn't exist.

Namespace

Drupal\markdown\Plugin\Markdown

Code

public function getCustomAllowedHtml() {
  return $this
    ->config()
    ->get('render_strategy.custom_allowed_html');
}