You are here

public function MissingParser::getRenderStrategy in Markdown 8.2

Retrieves the render strategy to use.

Return value

string The render strategy.

Overrides RenderStrategyInterface::getRenderStrategy

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

File

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

Class

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

Namespace

Drupal\markdown\Plugin\Markdown

Code

public function getRenderStrategy() {
  $type = $this
    ->config()
    ->get('render_strategy.type');
  return isset($type) ? $type : static::FILTER_OUTPUT;
}