Skip to content

Remove the unused $build theme page_header #290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

andybroomfield
Copy link
Contributor

@andybroomfield andybroomfield commented Dec 20, 2024

Fix #289

What does this change?

Remove the old page_header from the $build array of the service status page controller. This was a left over way of adding the page header from BHCC Drupal 8 / Miggle site and was never used in Localgov Drupal. It's presence was causing a Theme hook page_header not found warning in watchdog.

How to test

Access a service status page eg. On demo content at /adult-health-and-social-care/status
Then check the log and make sure no warning is logged.

How can we measure success?

No more warnings.

Have we considered potential risks?

If someone has this template and is using it, now they won't have the text 'latest services status' added to it.
Note: This template only exists as a hold over on the BHCC site, it is not present at all in Localgov Drupal.

Images

n/a.

Accessibility

n/a.

Fix #289

Remove the old page_header from the $build array of the service status page
controller. This was a left over way of adding the page header from BHCC
Drupal 8 / Miggle site and was never used in Localgov Drupal.
It's presence was causing a Theme hook page_header not found warning in
watchdog.
Copy link
Member

@ekes ekes left a comment

Choose a reason for hiding this comment

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

Unless @markconroy can think of an adverse effect I say we should get rid of it sooner rather than later. And now is already later.

@finnlewis finnlewis merged commit 2b3202b into 2.x Jan 7, 2025
8 of 11 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.

Service status page /status is generating a missing template warning
3 participants