public function EditorSelector::__construct

Constructs a new EditorSelector.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface: The manager for editor plugins.

File

drupal/core/modules/edit/lib/Drupal/edit/EditorSelector.php, line 39
Contains \Drupal\edit\EditorSelector.

Class

EditorSelector
Selects an in-place editor (an Editor plugin) for a field.

Namespace

Drupal\edit

Code

public function __construct(PluginManagerInterface $editor_manager) {
  $this->editorManager = $editor_manager;
}