function FormStateDecoratorBase::setGroups

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;
}

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