When cloneReferencedEntities is called it should dispatch events

Created on 21 October 2019, about 5 years ago
Updated 28 February 2024, 10 months ago

Problem/Motivation

We have altered the cloning form (entity_clone_form), adding some extra parameters (in our case the entity clone language).

We can use these extra settings during clone using EntityCloneEvents::PRE_CLONE or EntityCloneEvents::POST_CLONE.

But these events are dispatched only when the first node is cloned. Child nodes which are cloned using cloneReferencedEntities function don't dispatch events.

It should be very useful if also when we clone child nodes the same events will be dispatched.

Feature request
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇮🇹Italy eithel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024