Deprecate preprocess variable cruft in core

Created on 2 July 2024, 6 months ago

Problem/Motivation

Core has a tendency to add more and more preprocess variables and never remove them.

Steps to reproduce

Proposed resolution

Identify stale/crufty preprocess variables, and deprecate them in 11.1 for removal in Drupal 12. This should result in:

1. Less runtime code/smaller preprocess
2. Less verbose template documentation.
3. Less encouraging people to use things in templates they'd be better off doing another way.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🌱 Plan
Status

Active

Version

11.0 🔥

Component
Theme 

Last updated about 1 hour ago

Created by

🇬🇧United Kingdom catch

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

Comments & Activities

Production build 0.71.5 2024