function EditorInterface::setSettings
Same name in other branches
- 8.9.x core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::setSettings()
- 10 core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::setSettings()
- 11.x core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::setSettings()
Sets the text editor plugin-specific settings.
Parameters
array $settings: The structured array containing all text editor settings.
Return value
$this
1 method overrides EditorInterface::setSettings()
- Editor::setSettings in core/
modules/ editor/ src/ Entity/ Editor.php - Sets the text editor plugin-specific settings.
File
-
core/
modules/ editor/ src/ EditorInterface.php, line 65
Class
- EditorInterface
- Provides an interface defining a text editor entity.
Namespace
Drupal\editorCode
public function setSettings(array $settings);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.