[Drupal 12] google_tag_module_implements_alter without a #[LegacyModuleImplementsAlter]

Created on 26 June 2025, 7 days ago

Problem/Motivation

As part of the broader conversion of procedural hooks to OOP code, the implementation of module_implements_alter should be addressed initially, since it's provoking a deprecation notice:

google_tag_module_implements_alter without a #[LegacyModuleImplementsAlter] attribute is deprecated in drupal:11.2.0 and removed in drupal:12.0.0. See https://www.drupal.org/node/3496788 β†’

This change should being the process of converting procedural hooks to OOP code, starting with hook_page_attachments, which is the hook that is being modified by module_implements_alter.

πŸ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mark_fullmer Tucson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024