]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/ImportBundle/Form/Type/UploadImportType.php
TwoFactorBundle -> 2.0
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Form / Type / UploadImportType.php
CommitLineData
d275bdf4
NL
1<?php
2
77a7752a 3namespace Wallabag\ImportBundle\Form\Type;
d275bdf4
NL
4
5use Symfony\Component\Form\AbstractType;
6use Symfony\Component\Form\FormBuilderInterface;
7
8class UploadImportType extends AbstractType
9{
10 public function buildForm(FormBuilderInterface $builder, array $options)
11 {
12 $builder
13 ->add('file', 'file')
14 ->add('save', 'submit')
15 ;
16 }
17
d275bdf4
NL
18 public function getName()
19 {
20 return 'upload_import_file';
21 }
22}