Why use preprocess to populate results data?

Created on 13 March 2025, 4 months ago

Problem/Motivation

I'm trying to understand why template_preprocess_acquia_optimize_results exists when the data could be attached to the element in acquia_optimize_perform_quick_scan

Steps to reproduce

Proposed resolution

Remove preprocess function and just set the variables when building the element.

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Version

1.1

Component

Code

Created by

🇺🇸United States mglaman WI, USA

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

Comments & Activities

Production build 0.71.5 2024