Skip to content
Snippets Groups Projects
Commit 2abc0ceb authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

La source peut aussi être injectée si l'entité est en ImportAwareInterface

parent 5c1d5f7f
Branches
Tags
No related merge requests found
......@@ -63,7 +63,7 @@ class EntitySourceInjector implements EventSubscriber
}
// L'entité doit implémenter l'interface SourceAwareInterface.
if (!$entity instanceof SourceAwareInterface) {
if (!($entity instanceof SourceAwareInterface || $entity instanceof ImportAwareInterface)) {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment