public function EditorInterface::setEditor in Drupal 9
Same name and namespace in other branches
- 8 core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::setEditor()
- 10 core/modules/editor/src/EditorInterface.php \Drupal\editor\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);