Closed (fixed)
Project:
Entity Usage Plus
Version:
1.0.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
24 Nov 2025 at 23:26 UTC
Updated:
9 Dec 2025 at 22:29 UTC
Jump to comment: Most recent
The latest release of entity_usage added more parameters to ListUsageController::__construct and these break the parent construct call in entity_usage_plus/src/Controller/LocalTaskUsagePlusController.php
Avoid dependence on the parent controller construct class by using the create() method instead.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jastraat commentedComment #4
theloneliestmonk commentedThe code looks fairly straightforward and solid.
Comment #6
jastraat commentedThank you @theloneliestmonk!
Comment #8
jastraat commentedOpened an issue in entity_usage in case other modules were extending its controller class: #3559886: Set default values on optional construct() parameters.. The commit from this issue provides a workaround for entity_usage_plus.