You are here

public function FormStateDecoratorBase::getButtons in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getButtons()
  2. 10 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getButtons()

Returns the submit and button elements for the form.

Return value

array The submit and button elements.

Overrides FormStateInterface::getButtons

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 57

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public function getButtons() {
  return $this->decoratedFormState
    ->getButtons();
}