Loading src/Form/ConfigureAction.php +2 −7 Original line number Original line Diff line number Diff line Loading @@ -89,16 +89,11 @@ class ConfigureAction extends FormBase { // :D Make sure the submit button is at the bottom of the form // :D Make sure the submit button is at the bottom of the form // and is editable from the action buildConfigurationForm method. // and is editable from the action buildConfigurationForm method. $form['actions'] = [ $form['actions'] = ['#type' => 'actions']; '#type' => 'actions', '#weight' => 666, ]; $form['actions']['submit'] = [ $form['actions']['submit'] = [ '#type' => 'submit', '#type' => 'submit', '#button_type' => 'primary', '#value' => $this->t('Apply'), '#value' => $this->t('Apply'), '#submit' => [ [$this, 'submitForm'], ], ]; ]; $this->addCancelButton($form); $this->addCancelButton($form); Loading Loading
src/Form/ConfigureAction.php +2 −7 Original line number Original line Diff line number Diff line Loading @@ -89,16 +89,11 @@ class ConfigureAction extends FormBase { // :D Make sure the submit button is at the bottom of the form // :D Make sure the submit button is at the bottom of the form // and is editable from the action buildConfigurationForm method. // and is editable from the action buildConfigurationForm method. $form['actions'] = [ $form['actions'] = ['#type' => 'actions']; '#type' => 'actions', '#weight' => 666, ]; $form['actions']['submit'] = [ $form['actions']['submit'] = [ '#type' => 'submit', '#type' => 'submit', '#button_type' => 'primary', '#value' => $this->t('Apply'), '#value' => $this->t('Apply'), '#submit' => [ [$this, 'submitForm'], ], ]; ]; $this->addCancelButton($form); $this->addCancelButton($form); Loading