- Issue created by @alexpott
- π¬π§United Kingdom alexpott πͺπΊπ
I'm think that \Drupal\content_lock\Event\ContentLockReleaseEvent should support multiple locks then we only need to trigger a single event. To me this is much better than triggering an event per entity. Or we could remove the event. and replace it will a break lock event that is triggered when your lock is broken not released as that is the only situation where I think an event is potentially useful... ie. send a message to a user that your lock has been broken by a user. Hmmm... maybe you could say the same for releasing... so yeah lets not remove the event. Let's make it support multiple locks...
Also I wonder about the use case of this event firing on entity delete. Like if the entity has been deleted what does anyone care about the lock being released - the entity no longer exists!