You are here

public function EditorInterface::setEditor in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 52
Contains \Drupal\editor\EditorInterface.

Class

EditorInterface
Provides an interface defining a text editor entity.

Namespace

Drupal\editor

Code

public function setEditor($editor);