Skip to content

Conversation

@Adnan-cds
Copy link
Contributor

Contains fix for theme preprocess functions for form elements.

Adnan-cds and others added 2 commits December 8, 2023 11:14
The localgov_forms module registers the following themes:
- localgov_forms_uk_address_lookup
- localgov_forms_uk_address

So their preprocess functions should implement template_process_HOOK().

Quoting the relevant documentation:
"template_preprocess_HOOK(&$variables): Should be implemented by the module that
registers the theme hook, to set up default variables."

@see https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!theme.api.php/group/themeable/10#sec_preprocess_templates
…name

Fix: Template preprocess function names
@finnlewis finnlewis merged commit d0922c3 into release-1.x Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants