public function buildCreateForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('files', DropzoneType::class, [
                'mapped' => false,
                'path' => $this->router->generate('opifer_api_media_upload'),
                'form_action' => $this->router->generate('opifer_media_media_updateall'),
                'label' => '',
            ])
        ;
    }
public function buildCreateForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('files', DropzoneType::class, [
                'mapped' => false,
                'path' => $this->router->generate('opifer_api_media_upload'),
                'form_action' => $this->router->generate('opifer_media_media_updateall'),
                'label' => '',
            ])
        ;
    }
public function buildCreateForm ( FormBuilderInterface $ builder , array $ options ) { $ builder -> add ( 'files' , DropzoneType :: class , [ 'mapped' => false , 'path' => $ this -> router -> generate ( 'opifer_api_media_upload' ) , 'form_action' => $ this -> router -> generate ( 'opifer_media_media_updateall' ) , 'label' => '' , ] ) ; }
Build the add file form.

@param FormBuilderInterface $builder
@param array                $options
Build the add file form .