function EditorInterface::getEditor

Same name in other branches
  1. 9 core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::getEditor()
  2. 8.9.x core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::getEditor()
  3. 10 core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::getEditor()

Returns the associated text editor plugin ID.

Return value

string The text editor plugin ID.

1 method overrides EditorInterface::getEditor()
Editor::getEditor in core/modules/editor/src/Entity/Editor.php

File

core/modules/editor/src/EditorInterface.php, line 39

Class

EditorInterface
Provides an interface defining a text editor entity.

Namespace

Drupal\editor

Code

public function getEditor();

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