Skip to content

Conversation

@lazysoundsystem
Copy link
Contributor

Ref: #895

What does this change?

As suggested in #895, uses hook_page_attachments_alter() instead of hook_page_attachments().

How to test

View source.

How can we measure success?

Look for the line <meta name="Generator" content="Drupal 10 (LocalGov Drupal | https://localgovdrupal.org)" /> (and no error message as reported on #895)

Have we considered potential risks?

Just noting it was originally using the other hook because the Thunder profile did it that way: localgovdrupal/localgov_core#177 (comment)

Images

N/A

Accessibility

N/A

Copy link
Contributor

@tonypaulbarker tonypaulbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional testing looks good. I didn't see the error reported at #895 but perhaps I didn't have all the necessary conditions for triggering that.

@lazysoundsystem
Copy link
Contributor Author

Thanks @tonypaulbarker I couldn't re-produce the error either, but looks like it's now in the right place.

@finnlewis finnlewis merged commit 070bf1e into localgovdrupal:3.x Oct 7, 2025
12 of 13 checks passed
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