You are here

public function SubFormState::getButtons in Authorization 8

Returns the submit and button elements for the form.

Return value

array The submit and button elements.

Overrides FormStateInterface::getButtons

File

src/Form/SubFormState.php, line 470

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

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