public function BaseParser::getRenderStrategy in Markdown 8.2
Retrieves the render strategy to use.
Return value
string The render strategy.
Overrides RenderStrategyInterface::getRenderStrategy
8 calls to BaseParser::getRenderStrategy()
- BaseParser::getConfiguration in src/
Plugin/ Markdown/ BaseParser.php - Gets this plugin's configuration.
- BaseParser::parse in src/
Plugin/ Markdown/ BaseParser.php - Parses markdown into HTML.
- CommonMark::buildConfigurationForm in src/
Plugin/ Markdown/ CommonMark/ CommonMark.php - Form constructor.
- CommonMark::getConfiguration in src/
Plugin/ Markdown/ CommonMark/ CommonMark.php - Gets this plugin's configuration.
- CommonMark::getEnvironment in src/
Plugin/ Markdown/ CommonMark/ CommonMark.php - Retrieves a CommonMark environment, creating it if necessary.
File
- src/
Plugin/ Markdown/ BaseParser.php, line 215
Class
- BaseParser
- Base class form Markdown Parser instances.
Namespace
Drupal\markdown\Plugin\MarkdownCode
public function getRenderStrategy() {
return $this
->config()
->get('render_strategy.type') ?: static::FILTER_OUTPUT;
}