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