You are here

public function FormStateInterface::setGroups in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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()
FormState::setGroups in core/lib/Drupal/Core/Form/FormState.php
Sets references to details elements to render them within vertical tabs.

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 705
Contains \Drupal\Core\Form\FormStateInterface.

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