module file is incompatible with Drupal 11.1+

Created on 25 January 2025, 3 months ago

Problem/Motivation

module file has code that is run on include() rather than on function calls. This is run in Drupal 11.1+ too early and fails due to not having the full container ready.

Steps to reproduce

install entity_tasks in a Drupal 11.1 site

Proposed resolution

put all the functions in the module file - almost more code to include the files than to just have them in the main file.

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇨🇦Canada nickdickinsonwilde Victoria, BC (T'So-uke lands)

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