protected function BaseExtension::baseConfigurationDefaults in Markdown 3.0.x
Returns generic default configuration for markdown extension plugins.
Return value
array An associative array with the default configuration.
1 call to BaseExtension::baseConfigurationDefaults()
- BaseExtension::setConfiguration in src/
Plugin/ Markdown/ Extension/ BaseExtension.php
File
- src/
Plugin/ Markdown/ Extension/ BaseExtension.php, line 54
Class
- BaseExtension
- Base class for markdown extensions.
Namespace
Drupal\markdown\Plugin\Markdown\ExtensionCode
protected function baseConfigurationDefaults() {
return [
'id' => $this
->getPluginId(),
'label' => $this
->t('Broken'),
'provider' => $this->pluginDefinition['provider'],
'settings' => $this
->defaultSettings() + [
'enabled' => FALSE,
],
];
}