public static function PhpMarkdown::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
1 call to PhpMarkdown::defaultSettings()
- PhpMarkdownExtra::defaultSettings in src/
Plugin/ Markdown/ PhpMarkdown/ PhpMarkdownExtra.php - Provides the default settings for the plugin.
1 method overrides PhpMarkdown::defaultSettings()
- PhpMarkdownExtra::defaultSettings in src/
Plugin/ Markdown/ PhpMarkdown/ PhpMarkdownExtra.php - Provides the default settings for the plugin.
File
- src/
Plugin/ Markdown/ PhpMarkdown/ PhpMarkdown.php, line 62
Class
- PhpMarkdown
- Support for PHP Markdown by Michel Fortin.
Namespace
Drupal\markdown\Plugin\Markdown\PhpMarkdownCode
public static function defaultSettings($pluginDefinition) {
/* @var \Drupal\markdown\Annotation\InstallablePlugin $pluginDefinition */
return [
'empty_element_suffix' => ' />',
'enhanced_ordered_list' => FALSE,
'hard_wrap' => FALSE,
'no_entities' => FALSE,
'no_markup' => FALSE,
'predef_titles' => [],
'predef_urls' => [],
'tab_width' => 4,
] + parent::defaultSettings($pluginDefinition);
}