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