Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::setGroups()
  2. 9 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::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

1 method overrides FormStateInterface::setGroups()
FormStateDecoratorBase::setGroups in core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
Sets references to details elements to render them within vertical tabs.

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 745

Class

FormStateInterface
Provides an interface for an object containing the current state of a form.

Namespace

Drupal\Core\Form

Code

public function setGroups(array $groups);