Convert remaining template_preprocess functions in module include files

Created on 25 July 2025, 3 months ago

Problem/Motivation

Part of πŸ“Œ [pp-1] Convert Template Preprocess hooks to OOP equivalent Postponed: needs info

Scope is to convert all remaining template preprocess functions in include files that aren't already in a dedicated issue (such as views, system, image, see meta issue)

Steps to reproduce

Proposed resolution

* Move all template_preprocess functions in update module to $ModuleThemeHooks, including hook_theme itself
* Deprecate the old functions and move them to .module, so that the file definitions can be removed
* Update all references, including direct calls in tests and @see/@covers in tests and templates.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

theme system

Created by

πŸ‡¨πŸ‡­Switzerland berdir Switzerland

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

Comments & Activities

Production build 0.71.5 2024