function EditorInterface::setEditor
Set the text editor plugin ID.
Parameters
string $editor: The text editor plugin ID to set.
1 method overrides EditorInterface::setEditor()
- Editor::setEditor in core/
modules/ editor/ src/ Entity/ Editor.php - Set the text editor plugin ID.
File
-
core/
modules/ editor/ src/ EditorInterface.php, line 47
Class
- EditorInterface
- Provides an interface defining a text editor entity.
Namespace
Drupal\editorCode
public function setEditor($editor);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.