public FormStateDecoratorBase::setGroups(array $groups)
Sets references to details elements to render them within vertical tabs.
Parameters
array $groups: References to details elements to render them within vertical tabs.
Return value
$this
Overrides FormStateInterface::setGroups
File
- core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 105
Class
- FormStateDecoratorBase
- Decorates another form state.
Namespace
Drupal\Core\Form
Code
public function setGroups(array $groups) {
$this->decoratedFormState->setGroups($groups);
return $this;
}
Please login to continue.