src/Eccube/Form/Type/Install/Step1Type.php line 20

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of EC-CUBE
  4.  *
  5.  * Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  6.  *
  7.  * http://www.ec-cube.co.jp/
  8.  *
  9.  * For the full copyright and license information, please view the LICENSE
  10.  * file that was distributed with this source code.
  11.  */
  12. namespace Eccube\Form\Type\Install;
  13. use Symfony\Component\Form\AbstractType;
  14. use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
  15. use Symfony\Component\Form\FormBuilderInterface;
  16. class Step1Type extends AbstractType
  17. {
  18.     /**
  19.      * {@inheritdoc}
  20.      */
  21.     public function buildForm(FormBuilderInterface $builder, array $options)
  22.     {
  23.         $builder
  24.             ->add('agree'CheckboxType::class, [
  25.                 'required' => false,
  26.             ])
  27.         ;
  28.     }
  29.     /**
  30.      * {@inheritdoc}
  31.      */
  32.     public function getBlockPrefix()
  33.     {
  34.         return 'install_step1';
  35.     }
  36. }