Commit e5fd8b4e by Frédéric

Update BoltFormExtendedExtension.php

parent 04c334c0
...@@ -21,7 +21,7 @@ class BoltFormExtendedExtension extends SimpleExtension ...@@ -21,7 +21,7 @@ class BoltFormExtendedExtension extends SimpleExtension
*/ */
protected function subscribe(EventDispatcherInterface $dispatcher) 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) 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