Convert contextual_preprocess to #post_render

Created on 30 September 2016, almost 8 years ago
Updated 15 May 2023, over 1 year ago

Problem/Motivation

The contextual_preprocess function makes plenty of assumptions on what is being put inside the template and what is being printed inside the template. This is easy to break and is something new for many themers.

The way this is implements doesn't really match the way we want the preprocess functions to be used in future where we might want to prevent preprocess functions from adding new variables to templates.

Proposed resolution

Try to convert contextual_preprocess function to #post_render. It would make contextual links less fragile since then what is printed inside the template wouldn't affect contextual links.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Closed: outdated

Version

10.1

Component
Contextual 

Last updated 3 days ago

Created by

🇫🇮Finland lauriii Finland

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States smustgrave

    If still a valid feature request will have to consider the BC as @larowlan mentioned. Closing for now as it's been a year. But feel free to reopen

    Thanks!

Production build 0.71.5 2024