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
Currently when you enable your subtheme, the header and footer styles are not set, which prevents the page from looking right.
Proposed resolution
Account for empty theme settings in hook_preprocess_page().
Also while we're at it, we should remove the /config/install folder. It's not used since the base theme isn't the default theme, so it's serving no purpose.
Remaining tasks
Write and review patch.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | uswds-d8-default-theme-settings-2894948-2.patch | 1.53 KB | brockfanning |
Comments
Comment #2
brockfanning CreditAttribution: brockfanning commentedComment #4
brockfanning CreditAttribution: brockfanning commented