Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Element.php

function Element::__construct

Same name in this branch
  1. 11.1.x vendor/lullabot/php-webdriver/lib/WebDriver/Element.php \WebDriver\Element::__construct()
  2. 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\editor

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal