protected static function Parsedown::settingMethodMap in Markdown 8.2
A map of setting <-> method.
Return value
array An associative array containing key/value pairs, where the key is the setting and the value is the method.
1 call to Parsedown::settingMethodMap()
- Parsedown::getSettingMethod in src/
Plugin/ Markdown/ Parsedown/ Parsedown.php - Retrieves the method used to configure a specific setting.
File
- src/
Plugin/ Markdown/ Parsedown/ Parsedown.php, line 233
Class
- Parsedown
- Support for Parsedown by Emanuil Rusev.
Namespace
Drupal\markdown\Plugin\Markdown\ParsedownCode
protected static function settingMethodMap() {
return [
'breaks_enabled' => 'setBreaksEnabled',
'markup_escaped' => 'setMarkupEscaped',
'safe_mode' => 'setSafeMode',
'strict_mode' => 'setStrictMode',
'urls_linked' => 'setUrlsLinked',
];
}