interface 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). |
|
| string |
getExtendedType()
Returns the name of the type being extended |
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 40
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 53
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 62
public array
getDefaultOptions(array $options)
Overrides the default options form the extended type.
at line 71
public array
getAllowedOptionValues(array $options)
Returns the allowed option values for each option (if any).
at line 79
public string
getExtendedType()
Returns the name of the type being extended