Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
43.4 KB
MD5: 6559ea793b9b54319489ac0889da1c4f
SHA-1: 9457c68e4163ce3d91880a2bdd0f112333075672
SHA-256: 8f3100790f257765abf5db7fb7a8a28b28ba0e03f52155fb08c97ba6b1f9edb0
Download zip
59.26 KB
MD5: 1421617ac01b3c0f869c6b425304a8e6
SHA-1: 03784e4a23ecafa149fe571046e3eb957f8447a0
SHA-256: 1ab3210a855ee4cb2a31b25c5480ee1a4f34bb48b2e675401625ea852daf97f9
Release notes
⚠️ Breaking changes
- Remove old Drupal 8/9 support (the module now targets only supported Drupal 10/11 versions)
- #3599850: Routing template generated wrong permission - update _permission in your routing.yml
Added
- Added an automated test suite covering the module's functionality #3599843: Add tests
- The Drush generator now exposes configurable options to enable/disable translatable and revisionable flags on generated entities #3604201: Make translation and revision options configurable in the generator
- Added a hook_update_N template to the generator, to make schema updates easier for generated modules #3604199: Add hook_update_N template to the generator
- Added a logo for the project (visible on Project Browser) #3593844: Project Browser: Create a logo for Subentity
Fixed
- Fixed an uninitialized $view_mode variable in subentity_theme_suggestions_alter(), which could cause incorrect theme suggestions #3593864: Fix uninitialized $view_mode variable in subentity_theme_suggestions_alter()
- Fixed N+1 queries in ReferencedEntityListBuilder::buildRow(): getStorageByEntityType() is now called outside the row-rendering loop, significantly improving performance on listings with many referenced entities #3593907: Fix N+1 queries in ReferencedEntityListBuilder::buildRow() — move getStorageByEntityType() out of the row loop
- Fixed cache tags returned by ReferencedEntityAccessControlHandler::checkAccess(), ensuring correct access-cache invalidation #3593905: Fix access result cache tags in ReferencedEntityAccessControlHandler::checkAccess()
- Fixed the permission used in the generated routing.yml: administer subentities now replaces administer site configuration #3599839: Fix generated routing.yml to use 'administer subentities' instead of 'administer site configuration'
Code quality / maintenance
- Fixed all PHPStan warnings and errors #3593896: Fix phpstan warnings and errors
- Rector now runs in CI; removed Drupal 8/9 support and an unused mkdir in the Rector config #3593876: Execute rector in the CI + remove drupal 8/9 support and useless mkdir in rector config