Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
EntityAccessControlHandlerInterface::createAccess()
does not get the entity type of the entity to be created passed. This makes it impossible to implement a generic access control handler for multiple entity types.
Proposed resolution
Pass the entity type in some way.
Remaining tasks
User interface changes
None.
Comments
Comment #1
BerdirUh, it is a handler, all handlers have $this->entityType(Id) available ?
Comment #2
tstoecklerWow, that's incredibly stupid, even by my standards. Sorry for the noise.