You are here

public function FormStateDecoratorBase::setGroups in Markdown 8.2

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

src/BcSupport/FormStateDecoratorBase.php, line 113

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\markdown\BcSupport

Code

public function setGroups(array $groups) {
  $this->decoratedFormState
    ->setGroups($groups);
  return $this;
}