function Deprecated::__construct

Same name and namespace in other branches
  1. 10 core/modules/system/tests/modules/element_info_test/src/Element/Deprecated.php \Drupal\element_info_test\Element\Deprecated::__construct()

File

core/modules/system/tests/modules/element_info_test/src/Element/Deprecated.php, line 17

Class

Deprecated
Provides deprecated render element for testing.

Namespace

Drupal\element_info_test\Element

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
    parent::__construct($configuration, $plugin_id, $plugin_definition);
    @trigger_error(__CLASS__ . ' is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/3068104', E_USER_DEPRECATED);
}

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