function Fieldgroup::__construct

Constructs a new render element object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin ID for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Render\ElementInfoManagerInterface|null $elementInfoManager: The element info manager.

Overrides RenderElementBase::__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.