Problem/Motivation

Implement OOP hooks in contact submodule for better OOP & DI support, instead of having all hook logic in the module file.

Proposed resolution

Convert hook implementations to OOP hooks, with backwards compatibility.
See https://www.drupal.org/node/3442349

Remaining tasks

- Define hooks that can be converted into OOP hooks
- Create hook clas(ses) to logically bundle relevant hooks with their logic
- Add backwards compatibility support

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Issue fork teamleader-3519849

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

svendecabooter created an issue. See original summary.

svendecabooter’s picture

Issue summary: View changes

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

robbesaelens’s picture

Status: Active » Needs review
svendecabooter’s picture

Status: Needs review » Needs work
robbesaelens’s picture

Status: Needs work » Needs review

svendecabooter’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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