Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Fieldgroup.php

function 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();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal