Eccube\Form\Type\RepeatedEmailType::configureOptions PHP Method

configureOptions() public method

public configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver
    public function configureOptions(OptionsResolver $resolver)
    {
        $resolver->setDefaults(array('type' => 'email', 'required' => true, 'invalid_message' => 'form.member.email.invalid', 'options' => array('constraints' => array(new Assert\NotBlank(), new Assert\Email(array('strict' => true)), new Assert\Regex(array('pattern' => '/^[[:graph:][:space:]]+$/i', 'message' => 'form.type.graph.invalid')))), 'second_options' => array('attr' => array('placeholder' => 'form.member.repeated.confirm')), 'error_bubbling' => false, 'trim' => true));
    }