Exemple #1
0
 /**
  * @inheritDoc
  */
 public function configureOptions(OptionsResolver $resolver)
 {
     parent::configureOptions($resolver);
     $resolver->setDefault('options', ['i18n_prefix' => 'admin']);
 }
 /**
  * @inheritDoc
  */
 public function configureOptions(OptionsResolver $resolver)
 {
     parent::configureOptions($resolver);
     $resolver->setDefault('parameters', [['name' => 'id', 'dataType' => 'integer', "required" => true, 'description' => 'element id']]);
 }