You are here

public function EditorInterface::getEditor in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::getEditor()
  2. 9 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
Returns the associated text editor plugin ID.

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();