public function WebformActions::getInfo in Webform 8.5
Same name and namespace in other branches
- 6.x src/Element/WebformActions.php \Drupal\webform\Element\WebformActions::getInfo()
Returns the element properties for this element.
Return value
array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.
Overrides Container::getInfo
File
- src/
Element/ WebformActions.php, line 35
Class
- WebformActions
- Provides a wrapper element to group one or more Webform buttons in a form.
Namespace
Drupal\webform\ElementCode
public function getInfo() {
$class = get_class($this);
return [
'#process' => [
[
$class,
'processWebformActions',
],
[
$class,
'processContainer',
],
],
'#theme_wrappers' => [
'container',
],
];
}