Skip to content

Commit

Permalink
Issue #540: Fix Book content type not saving revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislaick committed Sep 13, 2024
1 parent 789e4b4 commit 73f91eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions html/modules/custom/bc_dc/bc_dc.module
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ function bc_dc_form_alter(array &$form, FormStateInterface $form_state, string $
case 'node_book_form':
// Remove revisioning informaion.
$form['revision_information']['#access'] = FALSE;
$form['revision']['#value'] = TRUE;
// Remove status information.
$form['meta']['#access'] = FALSE;
$form['options']['#access'] = FALSE;
Expand Down

0 comments on commit 73f91eb

Please sign in to comment.