Create class to replace hook_update_requirements

Created on 1 December 2024, 4 months ago

Problem/Motivation

Hook requirements uses phase right now to manage whether it is runtime, install, or update.
Let's move the update portion to a class so we can inject some services and more easily test them.

Steps to reproduce

N/A

Proposed resolution

Create UpdateRequirements class
Should this go in src/Requirements/Update/Classname
This should fire right after the current hook_requirements

Remaining tasks

Create class
Create tests

User interface changes

N/A

Introduced terminology

UpdateRequirements

API changes

New class UpdateRequirements you can use to check requirements on update.

Data model changes

Release notes snippet

๐Ÿ“Œ Task
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component

base system

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States nicxvan

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