public function FormStateDecoratorBase::getButtons in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getButtons()
- 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\FormCode
public function getButtons() {
return $this->decoratedFormState
->getButtons();
}