Same name and namespace in other branches
  1. 10 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

2 methods override FormStateInterface::setGroups()
FormState::setGroups in core/lib/Drupal/Core/Form/FormState.php
Sets references to details elements to render them within vertical tabs.
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 700

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