class FormTypeValidatorExtension extends BaseValidatorExtension

Methods

buildForm(FormBuilderInterface $builder, array $options)

Builds the form.

buildView(FormView $view, FormInterface $form, array $options)

Builds the view.

finishView(FormView $view, FormInterface $form, array $options)

Finishes the view.

configureOptions(OptionsResolver $resolver)

Configures the options for this type.

string
getExtendedType() deprecated

Returns the name of the type being extended.

__construct(ValidatorInterface $validator)

No description

static 
getExtendedTypes()

: iterable

Details

at line 39
buildForm(FormBuilderInterface $builder, array $options)

Builds the form.

This method is called after the extended type has built the form to further modify it.

Parameters

FormBuilderInterface $builder
array $options

in AbstractTypeExtension at line 32
buildView(FormView $view, FormInterface $form, array $options)

Builds the view.

This method is called after the extended type has built the view to further modify it.

Parameters

FormView $view
FormInterface $form
array $options

in AbstractTypeExtension at line 39
finishView(FormView $view, FormInterface $form, array $options)

Finishes the view.

This method is called after the extended type has finished the view to further modify it.

Parameters

FormView $view
FormInterface $form
array $options

at line 47
configureOptions(OptionsResolver $resolver)

Configures the options for this type.

Parameters

OptionsResolver $resolver The resolver for the options

in AbstractTypeExtension at line 55
string getExtendedType() deprecated

deprecated since Symfony 4.2, use getExtendedTypes() instead.

Returns the name of the type being extended.

Return Value

string The name of the type being extended

at line 30
__construct(ValidatorInterface $validator)

Parameters

ValidatorInterface $validator

at line 71
static getExtendedTypes()

: iterable