function 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 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.