function EditorController::__construct

Same name and namespace in other branches
  1. 11.x core/modules/editor/src/EditorController.php \Drupal\editor\EditorController::__construct()

File

core/modules/editor/src/EditorController.php, line 16

Class

EditorController
Returns responses for Editor module routes.

Namespace

Drupal\editor

Code

public function __construct(protected Element $editorElement) {
}

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