Commit 56f17572 by Frédéric

Update

parent a2a99173
...@@ -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_SET_DATA, array($this, 'preSetData')); $dispatcher->addListener(BoltFormsEvents::SUBMISSION_PRE_PROCESSOR, array($this, 'preSetData'));
$dispatcher->addListener(BoltFormsEvents::PRE_EMAIL_SEND, array($this, 'preEmailSend')); $dispatcher->addListener(BoltFormsEvents::PRE_EMAIL_SEND, array($this, 'preEmailSend'));
} }
......
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