Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
41.62 KB
MD5: 8e720fe4ec64e10c228de50954c292a7
SHA-1: 992fee5ff9127556475e4a5fa40b27d997c84a1e
SHA-256: 0ee080fd569b35c81f41b37e3cf9fc3be314cd556675351c0b57e5db85e620c7
Download zip
65.6 KB
MD5: 566b4d6663e6dce7263d2e113a71e845
SHA-1: 0df4fc6ee594747681ea7b2e5d77d697e2e56a13
SHA-256: b23b2f84317d7fd0b81a9bf8de0f18ee4ca6910f6ec1e51e0267ddabb9b2126e
Release notes
Added
- Immutable
LookupScopeandLookupOptionsvalue objects for the public lookup API explainLookup()as a dedicated debugging and introspection method- Proper field settings forms and summaries so reverse reference fields can be configured through the UI
- Translation kernel test coverage for:
- non-default translation save isolation
- language option filter parity
- Targeted kernel test coverage for:
- revision policy transitions
- multi-field reference edge cases
- ignored fields behaviour
- count correctness
- Additional edge-case kernel coverage beyond the initial targeted test pass
- GitLab CI configuration
Changed
- Refactored the public service API to use typed value objects instead of array-based scope and options inputs
- Updated field item list callers to build and pass value objects consistently
- Reworked internal service signatures and related internals to align with the new API
- Replaced old explain-state handling with the dedicated
explainLookup()method - Renamed
EntityReferenceChangeSubscribertoEntityReferenceChangeHandler - Updated service wiring, constructor usage, hook calls, and related service definitions to support the handler rename and refactor
- Updated relevant kernel tests to use the value-object API
- Updated documentation to match the refactored API and current architecture
Fixed
- Kernel test failures
- Referencer counting so counts now use distinct source entities
- Leftover explain-related state and handling
- Obsolete
EntityReferenceChangeSubscriberclass after the handler rename - References across the codebase to use
EntityReferenceChangeHandler
Documentation
- Updated README and architecture documentation to reflect:
- typed
LookupScopeandLookupOptionsusage explainLookup()replacing old explain behaviour- current handler naming
- current field and UI configuration support
- typed
- Applied follow-up documentation tweaks and alignment fixes
Upgrade notes
- The lookup API has changed: callers should now use
LookupScopeandLookupOptionsinstead of array inputs - The old explain option and
_explainresponse pattern have been removed in favour ofexplainLookup() - Reverse reference field types are now UI-configurable