Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
We have a use case that requires us to customize the progress bar, that's currently not possible.
Proposed resolution
Change it to expect a list of parts and some other meta information to make that available to custom templates and preprocess hooks.
Remaining tasks
User interface changes
None.
API changes
The template arguments change.
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#4 | tmgmt-refactor-progress-template-2944131-4-interdiff.txt | 3.39 KB | Berdir |
#4 | tmgmt-refactor-progress-template-2944131-4.patch | 7.91 KB | Berdir |
| |||
#2 | tmgmt-refactor-progress-template-2944131-2.patch | 4.52 KB | Berdir |
Comments
Comment #2
BerdirComment #4
BerdirTests failed due to the additional class.
Comment #5
miro_dietikerIn general looks pretty clean. One detail..
I'd expect that we need to round somewhere?
Comment #7
BerdirThought about that, but it was like this before but I've never a problem. As discussed, kept and committed.