function Dropbutton::getInfo
Overrides ElementInterface::getInfo
2 calls to Dropbutton::getInfo()
- Operations::getInfo in core/
lib/ Drupal/ Core/ Render/ Element/ Operations.php - Returns the element properties for this element.
- Operations::getInfo in core/
lib/ Drupal/ Core/ Render/ Element/ Operations.php - Returns the element properties for this element.
1 method overrides Dropbutton::getInfo()
- Operations::getInfo in core/
lib/ Drupal/ Core/ Render/ Element/ Operations.php - Returns the element properties for this element.
File
-
core/
lib/ Drupal/ Core/ Render/ Element/ Dropbutton.php, line 51
Class
- Dropbutton
- Provides a render element for a set of links rendered as a drop-down button.
Namespace
Drupal\Core\Render\ElementCode
public function getInfo() {
$class = static::class;
return [
'#pre_render' => [
[
$class,
'preRenderDropbutton',
],
],
'#theme' => 'links__dropbutton',
];
}