function Editor::__construct

Same name in this branch
  1. 9 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::__construct()
Same name in other branches
  1. 8.9.x core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::__construct()
  2. 10 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::__construct()
  3. 11.x core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::__construct()
  4. 11.x core/modules/editor/src/Attribute/Editor.php \Drupal\editor\Attribute\Editor::__construct()
  5. 10 core/modules/editor/src/Attribute/Editor.php \Drupal\editor\Attribute\Editor::__construct()

Constructs an Editor object.

Overrides PluginBase::__construct

File

core/modules/editor/src/Plugin/InPlaceEditor/Editor.php, line 28

Class

Editor
Defines the formatted text in-place editor.

Namespace

Drupal\editor\Plugin\InPlaceEditor

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
    @trigger_error('Drupal\\editor\\InPlaceEditor\\Editor is deprecated in drupal:9.5.0 and is removed from drupal:10.0.0. There is no replacement. See https://www.drupal.org/node/3271653', E_USER_DEPRECATED);
    parent::__construct($configuration, $plugin_id, $plugin_definition);
}

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