From 8607503e5004967f77beb877001695ddfc365c76 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 19 Sep 2018 17:41:04 +0200 Subject: [PATCH] Test implementations --- Controller.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Controller.php b/Controller.php index 33f4f27..18bf15b 100644 --- a/Controller.php +++ b/Controller.php @@ -233,7 +233,10 @@ final class Controller extends ModuleAbstract implements WebInterface $created = []; foreach ($profiles as $profile) { + $this->app->eventManager->trigger('PRE:Module:Admin-profile-create', '', $profile); ProfileMapper::create($profile); + $this->app->eventManager->trigger('POST:Module:Admin-profile-create', '', $profile); + $created[] = $profile->jsonSerialize(); }