8.3.x FormStateInterface.php public FormStateInterface::getButtons()
8.0.x FormStateInterface.php public FormStateInterface::getButtons()
8.1.x FormStateInterface.php public FormStateInterface::getButtons()
8.2.x FormStateInterface.php public FormStateInterface::getButtons()
8.4.x FormStateInterface.php public FormStateInterface::getButtons()

Returns the submit and button elements for the form.

Return value

array The submit and button elements.

1 method overrides FormStateInterface::getButtons()
FormState::getButtons in core/lib/Drupal/Core/Form/FormState.php
Returns the submit and button elements for the form.

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 646

Class

FormStateInterface
Provides an interface for an object containing the current state of a form.

Namespace

Drupal\Core\Form

Code

public function getButtons();