function Fieldgroup::getInfo

Same name in other branches
  1. 9 core/lib/Drupal/Core/Render/Element/Fieldgroup.php \Drupal\Core\Render\Element\Fieldgroup::getInfo()
  2. 8.9.x core/lib/Drupal/Core/Render/Element/Fieldgroup.php \Drupal\Core\Render\Element\Fieldgroup::getInfo()
  3. 11.x core/lib/Drupal/Core/Render/Element/Fieldgroup.php \Drupal\Core\Render\Element\Fieldgroup::getInfo()

Overrides Fieldset::getInfo

File

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

Class

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

Namespace

Drupal\Core\Render\Element

Code

public function getInfo() {
    return [
        '#attributes' => [
            'class' => [
                'fieldgroup',
            ],
        ],
    ] + parent::getInfo();
}

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