Autoloading hooks in address.views.inc is deprecated

Created on 14 March 2025, about 1 month ago

Problem/Motivation

The Scheduler module implements a plugin for Commerce Products, and to test it we need to require Commerce, which also therefore requires Address. Tests at Core 11.2 are failing with

Autoloading hooks in the file (modules/contrib/address/address.views.inc) is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0.
Move the functions in this file to either the .module file or other appropriate location.
See https://www.drupal.org/node/3489765

Includes for hook_hook_info implementations have been deprecated
See https://www.drupal.org/node/3489765

I am not sure if this has been fixed in 2.1.x because I do not have read-access to view your pipeline job logs. The Scheduler tests use Address 2.0.3 so there may well have been work done since that release.

Proposed resolution

Remaining tasks

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom jonathan1055

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