/** * {@inheritdoc} */ public function configureOptions(OptionsResolver $resolver) { parent::configureOptions($resolver); $resolver->setDefaults(['access_level_route' => 'orob2b_account_frontend_acl_access_levels']); }
/** * {@inheritdoc} */ public function buildForm(FormBuilderInterface $builder, array $options) { parent::buildForm($builder, $options); $builder->add('account', AccountSelectType::NAME, ['required' => false, 'label' => 'orob2b.account.accountuserrole.account.label']); }