Closed (fixed)
Project:
Drupal core
Version:
8.9.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2020 at 17:00 UTC
Updated:
7 Aug 2021 at 11:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hchonovComment #3
hardik_patel_12 commentedMake sense , LGTM.
Comment #4
alexpottSo this is not a boolean. I was wondering what on earth does nested mean...
But it's normally a string when it is actually used... for example:
Nested handlers are like the form and route_provider ones below...
Comment #5
ravi.shankar commentedHere I have tried to made changes as per comment #4.
Comment #6
alexpottWell it's
string|falseand we should update \Drupal\Core\Entity\EntityTypeInterface::hasHandlerClass() too.Comment #7
hchonovComment #8
joachim commentedLGTM!
Comment #9
alexpottCommitted and pushed fd8c922277 to 9.0.x and e6fcece5ee to 8.9.x. Thanks!
As the only implementation in core has the param even though it's not on the interface I think this is an okay under the 1-1 interface to class rule.
Comment #13
quietone commentedI just closed #2203357: Inconstancies in getHandlerClass and hasHandlerClass as a duplicate of this which is unfortunate as it was opened earlier than this, in 2014. A good reminder to all of us to search for existing issues.