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
It looks like modules e.g. Panels Everywhere skip the invocation of hook_preprocess_page()
.
Thus with that module enabled the JS tokens are never set.
Proposed resolution
Replace implementation of hook_preprocess_page()
with hook_preprocess_html()
.
Remaining tasks
Reviews needed.
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
js-use-js_preprocess_html.patch | 619 bytes | das-peter |
Comments
Comment #2
markhalliwell