diff --git a/docroot/modules/humsci/hs_blocks/hs_blocks.module b/docroot/modules/humsci/hs_blocks/hs_blocks.module index 12d55d0d9..b7e1951a3 100644 --- a/docroot/modules/humsci/hs_blocks/hs_blocks.module +++ b/docroot/modules/humsci/hs_blocks/hs_blocks.module @@ -118,7 +118,7 @@ function hs_blocks_form_block_form_alter(&$form, FormStateInterface $form_state) $block_form = $form_state->getFormObject(); /** @var Drupal\block\BlockForm $block_form */ $block = $block_form->getEntity(); - // Hide block visibility and region fields from non-developers. + // Hide visibility & region fields from non-developers on social media block. if ($block instanceof Block && $block->getPluginId() == 'hs_blocks_social_media_block') { /** @var Drupal\Entity\User $current_user */ $current_user = \Drupal::currentUser(); diff --git a/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.install b/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.install index 4ba4e5782..7d409cc12 100644 --- a/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.install +++ b/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.install @@ -1193,6 +1193,6 @@ function su_humsci_profile_update_9721() { \Drupal::service('module_installer')->uninstall([ 'honeypot', 'hs_paragraphs_between', - 'paragraphs_browser' + 'paragraphs_browser', ]); }