| 1: | <?php |
| 2: | namespace TIC\MailBundle\Form; |
| 3: | |
| 4: | use TIC\CoreBundle\Base\TICFormType as BaseType; |
| 5: | #use Symfony\Component\Form\AbstractType as BaseType; |
| 6: | |
| 7: | use Symfony\Component\Form\FormBuilderInterface; |
| 8: | |
| 9: | use Symfony\Component\Form\Extension\Core\Type\FileType; |
| 10: | |
| 11: | /** |
| 12: | * Formulaire d'import de modèles de notification. |
| 13: | */ |
| 14: | class TemplateImportType extends BaseType |
| 15: | { |
| 16: | protected $data_class = false; |
| 17: | |
| 18: | /** |
| 19: | * {@inheritdoc} |
| 20: | */ |
| 21: | public function buildForm(FormBuilderInterface $builder, array $options) |
| 22: | { |
| 23: | $builder |
| 24: | ->add('messages', FileType::class, array( |
| 25: | )) |
| 26: | ; |
| 27: | } |
| 28: | |
| 29: | } |
| 30: |