Split File hooks into separate classes

Created on 14 December 2024, about 2 months ago

Problem/Motivation

In 📌 OOP hooks using event dispatcher Needs review we converted procedural hooks into OOP classes. However there are 9 hooks implemented in \Drupal\file\Hook\FileHooks and lots of calls to \Drupal::service().

We should split out the hook implementations into separate classes and use dependency injection.

Steps to reproduce

Proposed resolution

Split out the hook implementations into separate classes and use dependency injection.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

file.module

Created by

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

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