You are here

public function EditorInterface::setSettings in Drupal 10

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

Code

public function setSettings(array $settings);