From e87a26636bd6e9905cefcfbaabe49aff21273b25 Mon Sep 17 00:00:00 2001 From: Joe Gilliland-Lloyd <6943710+joegl@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:12:08 -0500 Subject: [PATCH] HSD8-000: Uninstall page_cache (#1596) * HSD8-000: Uninstall page_cache. --- config/default/core.extension.yml | 1 - .../humsci/su_humsci_profile/su_humsci_profile.info.yml | 1 - .../humsci/su_humsci_profile/su_humsci_profile.install | 8 ++++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config/default/core.extension.yml b/config/default/core.extension.yml index 1fbe42e84..1e0d70d03 100644 --- a/config/default/core.extension.yml +++ b/config/default/core.extension.yml @@ -183,7 +183,6 @@ module: node_revision_delete: 0 oembed_providers: 0 options: 0 - page_cache: 0 paragraphs_browser: 0 paragraphs_edit: 0 path: 0 diff --git a/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.info.yml b/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.info.yml index 7c916c648..f79f49608 100644 --- a/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.info.yml +++ b/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.info.yml @@ -36,7 +36,6 @@ dependencies: - 'drupal:migrate' - 'drupal:node' - 'drupal:options' - - 'drupal:page_cache' - 'drupal:path' - 'drupal:path_alias' - 'drupal:responsive_image' 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 a174a7505..8319cdabd 100644 --- a/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.install +++ b/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.install @@ -915,3 +915,11 @@ function su_humsci_profile_update_9707() { // Uninstall eck module. \Drupal::service('module_installer')->uninstall(['eck']); } + + +/** + * Uninstall page_cache. + */ +function su_humsci_profile_update_9708() { + \Drupal::service('module_installer')->uninstall(['page_cache']); +}