Skip to content

Commit

Permalink
ACMS-4400: Update Acquia Drupal Starter Kit modules to support Drupal…
Browse files Browse the repository at this point in the history
… Core 11.1.0 version.
  • Loading branch information
rajeshreeputra committed Dec 27, 2024
1 parent 8cee154 commit c324ff4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/acquia_cms_common/acquia_cms_common.module
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ function acquia_cms_common_preprocess_maintenance_page(array &$variables) {
/**
* Implements hook_module_implements_alter().
*/
#[LegacyHook]

Check failure on line 430 in modules/acquia_cms_common/acquia_cms_common.module

View workflow job for this annotation

GitHub Actions / PHPStan

Attribute class LegacyHook does not exist.
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.
Expand Down
1 change: 1 addition & 0 deletions modules/acquia_cms_image/acquia_cms_image.install
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function acquia_cms_image_install($is_syncing) {
/**
* Implements hook_module_implements_alter().
*/
#[LegacyHook]

Check failure on line 25 in modules/acquia_cms_image/acquia_cms_image.install

View workflow job for this annotation

GitHub Actions / PHPStan

Attribute class LegacyHook does not exist.
function acquia_cms_image_module_implements_alter(array &$implementations, string $hook) : void {
if ($hook === 'modules_installed') {
// Unset default_content import during site install,
Expand Down

0 comments on commit c324ff4

Please sign in to comment.