function Actions::getInfo

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

Overrides Container::getInfo

File

core/lib/Drupal/Core/Render/Element/Actions.php, line 32

Class

Actions
Provides a wrapper element to group one or more buttons in a form.

Namespace

Drupal\Core\Render\Element

Code

public function getInfo() {
    $class = static::class;
    return [
        '#process' => [
            // @todo Move this to #pre_render.
[
                $class,
                'preRenderActionsDropbutton',
            ],
            [
                $class,
                'processActions',
            ],
            [
                $class,
                'processContainer',
            ],
        ],
        '#weight' => 100,
        '#theme_wrappers' => [
            'container',
        ],
    ];
}

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