Move PHP code from template to preprocess function

Created on 21 June 2011, about 13 years ago
Updated 10 November 2023, 8 months ago

The template file for countdown content contains too much PHP and logic which is not aligned with Drupal module development guidelines. Is it possible to move most of the stuff into preprocess function and keep the template file clean for markup?

✨ Feature request
Status

Closed: outdated

Component

Code

Created by

🇫🇮Finland iMiksu 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.

Production build 0.69.0 2024