From c324ff482b69a11836cea3a4644d95dfefa20274 Mon Sep 17 00:00:00 2001 From: rajeshreeputra Date: Fri, 27 Dec 2024 13:36:21 +0530 Subject: [PATCH] ACMS-4400: Update Acquia Drupal Starter Kit modules to support Drupal Core 11.1.0 version. --- modules/acquia_cms_common/acquia_cms_common.module | 1 + modules/acquia_cms_image/acquia_cms_image.install | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/acquia_cms_common/acquia_cms_common.module b/modules/acquia_cms_common/acquia_cms_common.module index 308ddb835..b88f4a2a2 100644 --- a/modules/acquia_cms_common/acquia_cms_common.module +++ b/modules/acquia_cms_common/acquia_cms_common.module @@ -427,6 +427,7 @@ function acquia_cms_common_preprocess_maintenance_page(array &$variables) { /** * Implements hook_module_implements_alter(). */ +#[LegacyHook] function acquia_cms_common_module_implements_alter(array &$implementations, string $hook): void { // Prevent installation of site studio package on module install // during site installation from other modules, this causes issue. diff --git a/modules/acquia_cms_image/acquia_cms_image.install b/modules/acquia_cms_image/acquia_cms_image.install index 8f4b9c462..e92574fd6 100644 --- a/modules/acquia_cms_image/acquia_cms_image.install +++ b/modules/acquia_cms_image/acquia_cms_image.install @@ -22,6 +22,7 @@ function acquia_cms_image_install($is_syncing) { /** * Implements hook_module_implements_alter(). */ +#[LegacyHook] function acquia_cms_image_module_implements_alter(array &$implementations, string $hook) : void { if ($hook === 'modules_installed') { // Unset default_content import during site install,