function Editor::setSettings

Same name in other branches
  1. 9 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::setSettings()
  2. 8.9.x core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::setSettings()
  3. 11.x core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::setSettings()

Overrides EditorInterface::setSettings

File

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

Class

Editor
Defines the configured text editor entity.

Namespace

Drupal\editor\Entity

Code

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

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