function Element::__construct

Same name and namespace in other branches
  1. 11.x core/modules/editor/src/Element.php \Drupal\editor\Element::__construct()
  2. 10 core/modules/editor/src/Element.php \Drupal\editor\Element::__construct()
  3. 9 core/modules/editor/src/Element.php \Drupal\editor\Element::__construct()
  4. 8.9.x core/modules/editor/src/Element.php \Drupal\editor\Element::__construct()

File

core/modules/editor/src/Element.php, line 21

Class

Element
Defines a service for Text Editor's render elements.

Namespace

Drupal\editor

Code

public function __construct(#[Autowire(service: 'plugin.manager.editor')] protected PluginManagerInterface $pluginManager, protected ModuleHandlerInterface $moduleHandler) {
}

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