Convert template_preprocess and related functions in views_ui

Created on 10 July 2025, 4 days ago

Problem/Motivation

Steps to reproduce

Proposed resolution

* Move all template_preprocess functions in update module to UpdateThemeHooks, including kook_theme itself
* Deprecate the old functions and move them to update.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

views_ui.module

Created by

πŸ‡¨πŸ‡­Switzerland berdir Switzerland

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

Merge Requests

Comments & Activities

  • Issue created by @berdir
  • Merge request !12688temmplate preprocess conversions β†’ (Open) created by berdir
  • Pipeline finished with Failed
    4 days ago
    Total: 232s
    #544497
  • πŸ‡¨πŸ‡­Switzerland berdir Switzerland

    Doing the deprecations here feels pretty silly, also for those 3 helper functions that unfortunately aren't prefixed. The chances of those being called by anyone seem pretty much zero.

  • Pipeline finished with Failed
    4 days ago
    Total: 584s
    #544505
  • πŸ‡¨πŸ‡­Switzerland berdir Switzerland
  • Pipeline finished with Failed
    3 days ago
    Total: 5523s
    #545475
  • πŸ‡¨πŸ‡­Switzerland berdir Switzerland

    Properly merged with the existing ViewsUIThemeHooks class.

  • Pipeline finished with Failed
    1 day ago
    Total: 244s
    #546214
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    seems to need a phpstan update

  • πŸ‡¨πŸ‡­Switzerland berdir Switzerland

    Fixed that.

  • Pipeline finished with Success
    1 day ago
    Total: 765s
    #546413
  • Pipeline finished with Success
    about 7 hours ago
    Total: 595s
    #547078
Production build 0.71.5 2024