Explore deprecating hooks in .inc files

Created on 5 October 2025, 8 days ago

Problem/Motivation

In order to meet bc needs for hook discovery we scan all .inc files and store the file it is found in.

This means that we now technically autoload .inc files.

Now that we have oop hooks we should deprecate hooks in .inc and only allow procedural hooks in .module files.

Steps to reproduce

N/A

Proposed resolution

Deprecate hooks executed when discovered in .inc

Remaining tasks

Figure out best way to do this.

User interface changes

N/A

Introduced terminology

N/A

API changes

TBD

Data model changes

N/A

Release notes snippet

N/A

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

extension system

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024