コード例 #1
0
 /**
  * {@inheritdoc}
  */
 public function configureOptions(OptionsResolver $resolver)
 {
     parent::configureOptions($resolver);
     $resolver->setDefaults(['access_level_route' => 'orob2b_account_frontend_acl_access_levels']);
 }
コード例 #2
0
 /**
  * {@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']);
 }