abstract class AbstractTypeExtension implements FormTypeExtensionInterface
Methods
|
buildForm(FormBuilder $builder, array $options)
Builds the form. |
||
|
buildView(FormView $view, FormInterface $form)
Builds the view. |
||
|
buildViewBottomUp(FormView $view, FormInterface $form)
Builds the view. |
||
| array |
getDefaultOptions(array $options)
Overrides the default options form the extended type. |
|
| array |
getAllowedOptionValues(array $options)
Returns the allowed option values for each option (if any). |
Details
at line 27
public
buildForm(FormBuilder $builder, array $options)
Builds the form.
This method gets called after the extended type has built the form to
further modify it.
at line 42
public
buildView(FormView $view, FormInterface $form)
Builds the view.
This method gets called after the extended type has built the view to
further modify it.
at line 57
public
buildViewBottomUp(FormView $view, FormInterface $form)
Builds the view.
This method gets called after the extended type has built the view to
further modify it.
at line 68
public array
getDefaultOptions(array $options)
Overrides the default options form the extended type.
at line 80
public array
getAllowedOptionValues(array $options)
Returns the allowed option values for each option (if any).