You are here

public function Element::__construct in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/editor/src/Element.php \Drupal\editor\Element::__construct()
  2. 8 vendor/behat/mink/src/Element/Element.php \Behat\Mink\Element\Element::__construct()
Same name and namespace in other branches
  1. 8.0 core/modules/editor/src/Element.php \Drupal\editor\Element::__construct()

Constructs a new Element object.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $plugin_manager: The Text Editor plugin manager service.

File

core/modules/editor/src/Element.php, line 33
Contains \Drupal\editor\Element.

Class

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

Namespace

Drupal\editor

Code

public function __construct(PluginManagerInterface $plugin_manager) {
  $this->pluginManager = $plugin_manager;
}