function UnicornEditor::getDefaultSettings in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/editor/tests/modules/src/Plugin/Editor/UnicornEditor.php \Drupal\editor_test\Plugin\Editor\UnicornEditor::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
- core/
modules/ editor/ tests/ modules/ src/ Plugin/ Editor/ UnicornEditor.php, line 34 - Contains \Drupal\editor_test\Plugin\Editor\UnicornEditor.
Class
- UnicornEditor
- Defines a Unicorn-powered text editor for Drupal (for testing purposes).
Namespace
Drupal\editor_test\Plugin\EditorCode
function getDefaultSettings() {
return array(
'ponies_too' => TRUE,
);
}