public function Editor::getEditor in Drupal 10
Same name and namespace in other branches
- 8 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::getEditor()
- 9 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::getEditor()
Returns the associated text editor plugin ID.
Return value
string The text editor plugin ID.
Overrides EditorInterface::getEditor
File
- core/
modules/ editor/ src/ Entity/ Editor.php, line 151
Class
- Editor
- Defines the configured text editor entity.
Namespace
Drupal\editor\EntityCode
public function getEditor() {
return $this->editor;
}