function 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 180
Class
- Editor
- Defines the configured text editor entity.
Namespace
Drupal\editor\EntityCode
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.