public function buildForm(FormBuilderInterface $builder, array $options) | public function buildForm(FormBuilderInterface $builder, array $options) | ||||
{ | { | ||||
//dump($options); | |||||
$builder | $builder | ||||
->add('title', TextType::class, ['label' => 'Titre']) | ->add('title', TextType::class, ['label' => 'Titre']) | ||||
->add('type', ChoiceType::class, [ | ->add('type', ChoiceType::class, [ |