/** * {@inheritDoc} */ public function configureForm(FormInterface $form, $spec) { $this->triggerEvent(FormEvent::EVENT_CONFIGURE_FORM_PRE, $form, array('spec' => $spec)); parent::configureForm($form, $spec); $this->triggerEvent(FormEvent::EVENT_CONFIGURE_FORM_POST, $form, array('spec' => $spec)); return $form; }