class UrlType extends AbstractType
Methods
|
buildForm(FormBuilder $builder, array $options)
Builds the form. |
||
|
buildView(FormView $view, FormInterface $form)
Builds the form view. |
from AbstractType | |
|
buildViewBottomUp(FormView $view, FormInterface $form)
Builds the form view. |
from AbstractType | |
| FormBuilder|null |
createBuilder(string $name, FormFactoryInterface $factory, array $options)
Returns a builder for the current type. |
from AbstractType |
| array |
getDefaultOptions(array $options)
Returns the default options for this type. |
|
| array |
getAllowedOptionValues(array $options)
Returns the allowed option values for each option (if any). |
from AbstractType |
| string|null |
getParent(array $options)
Returns the name of the parent type. |
|
|
setExtensions(array $extensions)
Adds extensions for this type. |
from AbstractType | |
| array |
getExtensions()
Returns the extensions associated with this type. |
from AbstractType |
| string |
getName()
Returns the name of this type. |
Details
at line 23
public
buildForm(FormBuilder $builder, array $options)
Builds the form.
This method gets called for each type in the hierarchy starting form the
top most type.
Type extensions can further modify the form.
in AbstractType at line 52
public
buildView(FormView $view, FormInterface $form)
Builds the form view.
This method gets called for each type in the hierarchy starting form the
top most type.
Type extensions can further modify the view.
in AbstractType at line 71
public
buildViewBottomUp(FormView $view, FormInterface $form)
Builds the form view.
This method gets called for each type in the hierarchy starting form the
top most type.
Type extensions can further modify the view.
Children views have been built when this method gets called so you get
a chance to modify them.
in AbstractType at line 87
public FormBuilder|null
createBuilder(string $name, FormFactoryInterface $factory, array $options)
Returns a builder for the current type.
The builder is retrieved by going up in the type hierarchy when a type does
not provide one.
at line 31
public array
getDefaultOptions(array $options)
Returns the default options for this type.
in AbstractType at line 111
public array
getAllowedOptionValues(array $options)
Returns the allowed option values for each option (if any).
at line 41
public string|null
getParent(array $options)
Returns the name of the parent type.
in AbstractType at line 135
public
setExtensions(array $extensions)
Adds extensions for this type.
in AbstractType at line 151
public array
getExtensions()
Returns the extensions associated with this type.
at line 49
public string
getName()
Returns the name of this type.