Starting with Drupal 11.1.0, core introduced support for object oriented hook implementations and future versions are expected to phase out traditional procedural hooks.

To prepare for this change, it’s important to update the datalayer module by migrating its existing procedural hook implementations to the new class-based approach.

Issue fork datalayer-3538208

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

diegodz created an issue. See original summary.

diegodz’s picture

I’m happy to work on this and start converting the existing hooks. Any feedback or suggestions are welcome!

diegodz’s picture

Assigned: diegodz » Unassigned
Status: Active » Needs review

diegodz changed the visibility of the branch 3538208-support-for-object to hidden.

diegodz changed the visibility of the branch 3538208-support-for-object to active.

diegodz’s picture

waropd’s picture

Static patch of the MR
Any update on a new release?

eojthebrave made their first commit to this issue’s fork.

  • eojthebrave committed 36a4840a on 2.1.x authored by diegodz
    feat: #3538208 Support for object oriented hook implementations
    
    By:...
eojthebrave’s picture

Status: Needs review » Fixed

Thanks for working on this. I just merged the MR.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.