Skip to content

Commit

Permalink
VACMS-15242: Don't unset the revision log states
Browse files Browse the repository at this point in the history
  • Loading branch information
chri5tia committed Sep 25, 2023
1 parent 188a6af commit eee73e5
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,6 @@ public function requireRevisionMessage(array &$form, FormStateInterface &$form_s
return;
}

// Disable the checkbox functionality.
unset($form['revision_log']['#states']);

// Hide the checkbox that lets you opt into making a revision.
// Promo blocks have a different form structure.
if ($entity->bundle() === 'promo') {
Expand Down

0 comments on commit eee73e5

Please sign in to comment.