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

Breadcrumb

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

function 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',
        ],
    ];
}

API Navigation

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