function EditorPluginInterface::getDefaultSettings
Same name in other branches
- 9 core/modules/editor/src/Plugin/EditorPluginInterface.php \Drupal\editor\Plugin\EditorPluginInterface::getDefaultSettings()
- 8.9.x core/modules/editor/src/Plugin/EditorPluginInterface.php \Drupal\editor\Plugin\EditorPluginInterface::getDefaultSettings()
- 11.x core/modules/editor/src/Plugin/EditorPluginInterface.php \Drupal\editor\Plugin\EditorPluginInterface::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).
1 method overrides EditorPluginInterface::getDefaultSettings()
- EditorBase::getDefaultSettings in core/
modules/ editor/ src/ Plugin/ EditorBase.php - Returns the default settings for this configurable text editor.
File
-
core/
modules/ editor/ src/ Plugin/ EditorPluginInterface.php, line 34
Class
- EditorPluginInterface
- Defines an interface for configurable text editors.
Namespace
Drupal\editor\PluginCode
public function getDefaultSettings();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.