function Checkboxes::getInfo
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Render/Element/Checkboxes.php \Drupal\Core\Render\Element\Checkboxes::getInfo()
- 10 core/lib/Drupal/Core/Render/Element/Checkboxes.php \Drupal\Core\Render\Element\Checkboxes::getInfo()
- 11.x core/lib/Drupal/Core/Render/Element/Checkboxes.php \Drupal\Core\Render\Element\Checkboxes::getInfo()
Overrides ElementInterface::getInfo
File
-
core/
lib/ Drupal/ Core/ Render/ Element/ Checkboxes.php, line 44
Class
- Checkboxes
- Provides a form element for a set of checkboxes.
Namespace
Drupal\Core\Render\ElementCode
public function getInfo() {
$class = static::class;
return [
'#input' => TRUE,
'#process' => [
[
$class,
'processCheckboxes',
],
],
'#pre_render' => [
[
$class,
'preRenderCompositeFormElement',
],
],
'#theme_wrappers' => [
'checkboxes',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.