function Operations::getInfo

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

Overrides Dropbutton::getInfo

File

core/lib/Drupal/Core/Render/Element/Operations.php, line 21

Class

Operations
Provides a render element for a set of operations links.

Namespace

Drupal\Core\Render\Element

Code

public function getInfo() {
    return [
        '#theme' => 'links__dropbutton__operations',
    ] + parent::getInfo();
}

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