Editor::setSettings

public Editor::setSettings(array $settings)

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 166

Class

Editor
Defines the configured text editor entity.

Namespace

Drupal\editor\Entity

Code

public function setSettings(array $settings) {
  $this->settings = $settings;
  return $this;
}
doc_Drupal
2016-10-29 09:03:43
Comments
Leave a Comment

Please login to continue.