Skip to content

Commit

Permalink
Merge pull request #1028 from UN-OCHA/RW-1181
Browse files Browse the repository at this point in the history
[RW-1181] Hide embargo date field for contributors
  • Loading branch information
orakili authored Mar 4, 2025
2 parents 8b7d9c8 + 4b7438a commit 9272ae9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ protected function alterFieldsForContributors(array &$form, FormStateInterface $
$form['field_origin']['widget']['#type'] = 'hidden';

// Hide fields.
$form['field_embargo_date']['#access'] = FALSE;
$form['field_bury']['#access'] = FALSE;
$form['field_feature']['#access'] = FALSE;

Expand Down

0 comments on commit 9272ae9

Please sign in to comment.