You are here

public function Editor::getEditor in Drupal 8

Same name and namespace in other branches
  1. 9 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()

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\Entity

Code

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