You are here

public function EditorInterface::setEditor in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::setEditor()

Set the text editor plugin ID.

Parameters

string $editor: The text editor plugin ID to set.

1 method overrides EditorInterface::setEditor()
Editor::setEditor in core/modules/editor/src/Entity/Editor.php
Set the text editor plugin ID.

File

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

Class

EditorInterface
Provides an interface defining a text editor entity.

Namespace

Drupal\editor

Code

public function setEditor($editor);