public static function Parsedown::defaultSettings in Markdown 8.2
Provides the default settings for the plugin.
Parameters
\Drupal\markdown\Annotation\InstallablePlugin $pluginDefinition: The plugin definition.
Return value
array The default settings.
Overrides SettingsTrait::defaultSettings
File
- src/
Plugin/ Markdown/ Parsedown/ Parsedown.php, line 74
Class
- Parsedown
- Support for Parsedown by Emanuil Rusev.
Namespace
Drupal\markdown\Plugin\Markdown\ParsedownCode
public static function defaultSettings($pluginDefinition) {
/* @var \Drupal\markdown\Annotation\InstallablePlugin $pluginDefinition */
return [
'breaks_enabled' => FALSE,
'markup_escaped' => FALSE,
'safe_mode' => FALSE,
'strict_mode' => FALSE,
'urls_linked' => TRUE,
] + parent::defaultSettings($pluginDefinition);
}