function EditorInterface::setSettings

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

Code

public function setSettings(array $settings);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.