function Editor::getEditor

Same name and namespace in other branches
  1. 8.9.x core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::getEditor()
  2. 10 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::getEditor()
  3. 11.x core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::getEditor()

Overrides EditorInterface::getEditor

File

core/modules/editor/src/Entity/Editor.php, line 158

Class

Editor
Defines the configured text editor entity.

Namespace

Drupal\editor\Entity

Code

public function getEditor() {
    return $this->editor;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.