/** * Configure the Form width Options * * @param \Core\Form\Form $form * @param AbstractOptions $options */ protected function configureForm($form, AbstractOptions $options) { $size = $options->getCompanyLogoMaxSize(); $type = $options->getCompanyLogoMimeType(); $form->get($this->fileName)->setViewHelper('FormImageUpload')->setMaxSize($size)->setAllowedTypes($type)->setForm($form); $form->setIsDescriptionsEnabled(true); $form->setDescription('Choose a Logo. This logo will be shown in the job opening and the application form.'); }