Create hook_requirements_check

Created on 7 January 2025, 3 months ago

Problem/Motivation

Hook requirements uses phase right now to manage whether it is runtime, install, or update.

This leads to significant complexity. As it stands runtime and update can easily be an OOP hook.

Let's create a new hook_requirements_check to combine update and runtime.
We will also create a hook_requirements_check_alter.

Steps to reproduce

N/A

Proposed resolution

Create hook_requirements_check
Create hook_requirements_check_alter

Invoke hook_requirements_check after hook_requirements during runtime and update.
Merge results
Run hook_requirements_check_alter after hook_requirements_alter during runtime and update.

Remaining tasks

N/A

User interface changes

N/A

Introduced terminology

hook_requirements_check
hook_requirements_check_alter

API changes

hook_requirements_check
hook_requirements_check
Can be implemented to provide or alter requirements on status report.
Can be implemented to provide or alter requirements before updating.

Data model changes

Release notes snippet

✨ Feature request
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