function Fieldgroup::__construct

File

core/lib/Drupal/Core/Render/Element/Fieldgroup.php, line 30

Class

Fieldgroup
Provides a render element for a group of form elements.

Namespace

Drupal\Core\Render\Element

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
    parent::__construct($configuration, $plugin_id, $plugin_definition);
    @trigger_error('The ' . __CLASS__ . ' element is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. Use ' . Fieldset::class . ' instead. See https://www.drupal.org/node/3515272', E_USER_DEPRECATED);
}

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