Commit c90cb932 authored by Mark Fullmer's avatar Mark Fullmer Committed by Dave Reid
Browse files

Issue #3230079 by mark_fullmer: Fixed "Add URL Redirect" button on content...

Issue #3230079 by mark_fullmer: Fixed "Add URL Redirect" button on content forms did not set class attribute as an array, leading to possible fatal errors.
parent e5201ca5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -372,7 +372,9 @@ function redirect_form_node_form_alter(&$form, FormStateInterface $form_state, $
        'destination' => \Drupal::destination()->get(),
      ]),
      'attributes' => [
        'class' => 'button',
        'class' => [
          'button',
        ],
        'target' => '_blank',
      ],
    ];