abstractclass BaseValidatorExtension extendsAbstractTypeExtension

Encapsulates common logic of {@link FormTypeValidatorExtension} and {@link SubmitTypeValidatorExtension}.

Methods

void
configureOptions(OptionsResolver$resolver)

No description

void
buildForm(FormBuilderInterface$builder,array$options)

Builds the form.

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

Builds the view.

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

Finishes the view.

Details

void configureOptions(OptionsResolver$resolver)

Parameters

OptionsResolver $resolver

Return Value

void

void 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

Return Value

void

void 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

Return Value

void

void 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

Return Value

void