mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-13 18:59:27 +00:00
1d76102a24
- some missing url parameters from WallabagRestController & EntryController - use a service for `EntryFilterType` to use fully qualified name instead (so changing class signature) - update ImportBundle (url & form)
25 lines
597 B
PHP
25 lines
597 B
PHP
<?php
|
|
|
|
namespace Wallabag\ImportBundle\Form\Type;
|
|
|
|
use Symfony\Component\Form\AbstractType;
|
|
use Symfony\Component\Form\FormBuilderInterface;
|
|
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
|
|
use Symfony\Component\Form\Extension\Core\Type\FileType;
|
|
|
|
class UploadImportType extends AbstractType
|
|
{
|
|
public function buildForm(FormBuilderInterface $builder, array $options)
|
|
{
|
|
$builder
|
|
->add('file', FileType::class)
|
|
->add('save', SubmitType::class)
|
|
;
|
|
}
|
|
|
|
public function getBlockPrefix()
|
|
{
|
|
return 'upload_import_file';
|
|
}
|
|
}
|