Commit 52ea6702 authored by Ide Braakman's avatar Ide Braakman Committed by Marcin Grabias
Browse files

Issue #3331291 by idebr: Implement a primary button in Action confirm form

parent 4788f9d1
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -94,8 +94,10 @@ class ConfirmAction extends FormBase {
      ]
      ]
    );
    );


    $form['actions'] = ['#type' => 'actions'];
    $form['actions']['submit'] = [
    $form['actions']['submit'] = [
      '#type' => 'submit',
      '#type' => 'submit',
      '#button_type' => 'primary',
      '#value' => $this->t('Execute action'),
      '#value' => $this->t('Execute action'),
      '#submit' => [
      '#submit' => [
        [$this, 'submitForm'],
        [$this, 'submitForm'],