function Editor::setEditor
Same name in other branches
- 8.9.x core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::setEditor()
- 10 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::setEditor()
- 11.x core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::setEditor()
Overrides EditorInterface::setEditor
File
-
core/
modules/ editor/ src/ Entity/ Editor.php, line 165
Class
- Editor
- Defines the configured text editor entity.
Namespace
Drupal\editor\EntityCode
public function setEditor($editor) {
$this->editor = $editor;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.