Closed (fixed)
Project:
Drupal core
Version:
11.3.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2026 at 14:57 UTC
Updated:
22 Jan 2026 at 12:44 UTC
Jump to comment: Most recent
Runtime requirements uses drupal_load_updates to check for runtime requirements, but drupal_load_updates only loads files with update hooks.
Properly load all install files before running the install requirements
Confirm this is eligible for no tests since this is very hard to set a test up for, but it is pretty clear what is missing.
N/A
N/A
N/A
N/A
N/A
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
Comment #3
nicxvan commentedComment #4
berdirI think we can get this in without explicit tests. I think it's actually not really possible yet to make this fail, thanks to more or less accidentally baking in automatic loading of include files with hooks in the initial implementation of the OOP hooks, before we added explicit support for hook_hook_info(). It would only fail in combination with #3550311: Explore deprecating hooks in .inc files in D12.
It's a temporary workaround, in D13, we can drop this because hook_requirements() will be gone by then and the ability to have hooks in .install or other include files.
Comment #7
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!