function 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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.