You are here

public function Editor::setSettings in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 168
Contains \Drupal\editor\Entity\Editor.

Class

Editor
Defines the configured text editor entity.

Namespace

Drupal\editor\Entity

Code

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