You are here

public function Editor::setSettings in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::setSettings()

Sets the text editor plugin-specific settings.

Parameters

array $settings: The structured array containing all text editor settings.

Return value

$this

Overrides EditorInterface::setSettings

File

core/modules/editor/src/Entity/Editor.php, line 173

Class

Editor
Defines the configured text editor entity.

Namespace

Drupal\editor\Entity

Code

public function setSettings(array $settings) {
  $this->settings = $settings;
  return $this;
}