public static function AceFormatter::defaultSettings in Ace Code Editor 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ AceFormatter.php, line 81
Class
- AceFormatter
- Plugin implementation of the 'ace_editor' formatter.
Namespace
Drupal\ace_editor\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
// Get default ace_editor configuration.
$config = \Drupal::config('ace_editor.settings')
->get();
return $config + parent::defaultSettings();
}