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