public function Gutenberg::getDefaultSettings in Gutenberg 8
Same name and namespace in other branches
- 8.2 src/Plugin/Editor/Gutenberg.php \Drupal\gutenberg\Plugin\Editor\Gutenberg::getDefaultSettings()
Returns the default settings for this configurable text editor.
Return value
array An array of settings as they would be stored by a configured text editor entity (\Drupal\editor\Entity\Editor).
Overrides EditorBase::getDefaultSettings
File
- src/
Plugin/ Editor/ Gutenberg.php, line 105
Class
- Gutenberg
- Defines a Gutenberg-based text editor for Drupal.
Namespace
Drupal\gutenberg\Plugin\EditorCode
public function getDefaultSettings() {
return [
'plugins' => [
'language' => [
'language_list' => 'un',
],
],
];
}