You are here

public function BaseParser::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 BaseParser::getAllowedHtmlPlugins()
BaseParser::getConfiguration in src/Plugin/Markdown/BaseParser.php
Gets this plugin's configuration.

File

src/Plugin/Markdown/BaseParser.php, line 126

Class

BaseParser
Base class form Markdown Parser instances.

Namespace

Drupal\markdown\Plugin\Markdown

Code

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