Verified Commit dcc6b0e7 authored by Dave Long's avatar Dave Long
Browse files

fix: #3450792 Only set #group is status field exists in NodeForm

By: msnassar
By: smustgrave
By: quietone
By: acbramley
(cherry picked from commit f2ee3e47)
parent ec7d387d
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -163,7 +163,9 @@ public function form(array $form, FormStateInterface $form_state) {
      '#wrapper_attributes' => ['class' => ['entity-meta__author']],
    ];

    if (isset($form['status'])) {
      $form['status']['#group'] = 'footer';
    }

    // Node author information for administrators.
    $form['author'] = [