Element::__construct

public Element::__construct(PluginManagerInterface $plugin_manager)

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 28

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;
}
doc_Drupal
2016-10-29 09:04:01
Comments
Leave a Comment

Please login to continue.