You are here

public function EditorPluginInterface::getDefaultSettings in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/editor/src/Plugin/EditorPluginInterface.php \Drupal\editor\Plugin\EditorPluginInterface::getDefaultSettings()
  2. 9 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\Plugin

Code

public function getDefaultSettings();