Commit a8156f51 by Frédéric

Update BoltFormExtendedExtension.php

parent 91be068b
......@@ -21,7 +21,7 @@ class BoltFormExtendedExtension extends SimpleExtension
*/
protected function subscribe(EventDispatcherInterface $dispatcher)
{
$dispatcher->addListener(BoltFormsEvents::PRE_SUBMIT, array($this, 'myPostSubmit'));
$dispatcher->addListener(BoltFormsEvents::PRE_EMAIL_SEND, array($this, 'myPostSubmit'));
}
public function myPostSubmit($event)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment