3 namespace Wallabag\ImportBundle\Form\Type
;
5 use Symfony\Component\Form\AbstractType
;
6 use Symfony\Component\Form\FormBuilderInterface
;
8 class UploadImportType
extends AbstractType
10 public function buildForm(FormBuilderInterface
$builder, array $options)
14 ->add('save', 'submit')
18 public function getDefaultOptions(array $options)
21 'csrf_protection' => false,
25 public function getName()
27 return 'upload_import_file';