3 namespace Drupal\Core\Render\Element;
6 * Provides a render element for a group of form elements.
8 * In default rendering, the only difference between a 'fieldgroup' and a
9 * 'fieldset' is the CSS class applied to the containing HTML element. Normally
12 * @see \Drupal\Core\Render\Element\Fieldset for documentation and usage.
14 * @see \Drupal\Core\Render\Element\Fieldset
15 * @see \Drupal\Core\Render\Element\Details
17 * @RenderElement("fieldgroup")
19 class Fieldgroup extends Fieldset {
21 public function getInfo() {
23 '#attributes' => ['class' => ['fieldgroup']],
24 ] + parent::getInfo();