Loading
Add entity agnostic support
This pull request brings full compatibility with the latest diff module release. Noteworthy changes include:
- Update the diff controller check to apply to more than just nodes
- Fix previous / next URL generation for non-nodes
- Fix cacheability issue that only manifests with block_content diffs (the
diff_plusconfig must be a cacheable dependency) - Prevent WSOD if an entity type upcasts the left_revision or right_revision route parameters
- Add a null check for the author (some of the newly supported entity types may not have authors set)
- Update the template to account for content without canonical link-templates (block_content)
- Update from annotations to attributes for various things (plugin definitions, test groups, etc...)
- Add test coverage for a non-node (taxonomy, block content, and media should work)
- Make Gitlab CI pass (2026 version).
Edited by Luke Leber