Drupal 11.4 compatibility fix - #1110
Merged
Merged
Conversation
Refactor IslandoraImageFormatter constructor to use parent create method and set dependencies after instantiation.
Removed comments explaining the parent formatter instance creation.
joecorall
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this Pull Request do?
After updating to Drupal 11.4.x my views that had images in them stopped working (eg. my search results with the thumbnails). It threw this error:
This PR mostly comes from Claude, so I'm going to copy the relevant conversation here:
How should this be tested?
I tested on my site with version 11.4.4 and 11.3.13, and on a fresh site template install of 11.3.12 and everything seemed to work as intended.
I would recommend testing before and after updating Drupal to 11.4.x, as well as testing Drupal 11.4.4 without this patch to see that the search results breaks .
Documentation Status
N/A
Interested parties
@Islandora/committers