You are here

public function MissingParser::getAllowedHtmlPlugins in Markdown 8.2

Retrieves the allowed HTML plugins relevant to the object.

Return value

string[] An indexed array of allowed HTML plugins identifiers.

Overrides RenderStrategyInterface::getAllowedHtmlPlugins

1 call to MissingParser::getAllowedHtmlPlugins()
MissingParser::getConfiguration in src/Plugin/Markdown/MissingParser.php
Gets this plugin's configuration.

File

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

Class

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

Namespace

Drupal\markdown\Plugin\Markdown

Code

public function getAllowedHtmlPlugins(ActiveTheme $activeTheme = NULL) {
  return $this
    ->config()
    ->get('render_strategy.plugins') ?: [];
}