You are here

protected function SubmitButtonFormEnhancerTrait::locateSubmitButtons in Flexiform 8

Locate any submit buttons in the form.

Return value

array The buttons in the form.

4 calls to SubmitButtonFormEnhancerTrait::locateSubmitButtons()
SubmitButtonAjax::configurationForm in src/Plugin/FormEnhancer/SubmitButtonAjax.php
The configuration form.
SubmitButtonLabel::configurationForm in src/Plugin/FormEnhancer/SubmitButtonLabel.php
The configuration form.
SubmitButtonRedirect::configurationForm in src/Plugin/FormEnhancer/SubmitButtonRedirect.php
The configuration form.
SubmitButtonRules::configurationForm in contrib/rules/src/Plugin/FormEnhancer/SubmitButtonRules.php
The configuration form.

File

src/FormEnhancer/SubmitButtonFormEnhancerTrait.php, line 25

Class

SubmitButtonFormEnhancerTrait
Trait for submit buttons in form enhancers.

Namespace

Drupal\flexiform\FormEnhancer

Code

protected function locateSubmitButtons() {
  $form_info = $this->formDisplay
    ->getFormInformation();
  return $this
    ->locateSubmitButtonsR($form_info['form']);
}