function Element::__construct
Same name in this branch
- 11.1.x vendor/lullabot/php-webdriver/lib/WebDriver/Element.php \WebDriver\Element::__construct()
- 11.1.x vendor/behat/mink/src/Element/Element.php \Behat\Mink\Element\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 29
Class
- Element
- Defines a service for Text Editor's render elements.
Namespace
Drupal\editorCode
public function __construct(PluginManagerInterface $plugin_manager) {
$this->pluginManager = $plugin_manager;
}