AbstractType
in package
implements
FormTypeInterface
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- buildForm() : mixed
- Builds the form.
- buildView() : mixed
- Builds the form view.
- configureOptions() : mixed
- Configures the options for this type.
- finishView() : mixed
- Finishes the form view.
- getBlockPrefix() : string
- Returns the prefix of the template block name for this type.
- getParent() : string|null
- Returns the name of the parent type.
Methods
buildForm()
Builds the form.
public
buildForm(FormBuilderInterface $builder, array<string|int, mixed> $options) : mixed
Parameters
- $builder : FormBuilderInterface
- $options : array<string|int, mixed>
Return values
mixed —buildView()
Builds the form view.
public
buildView(FormView $view, FormInterface $form, array<string|int, mixed> $options) : mixed
Parameters
- $view : FormView
- $form : FormInterface
- $options : array<string|int, mixed>
Return values
mixed —configureOptions()
Configures the options for this type.
public
configureOptions(OptionsResolver $resolver) : mixed
Parameters
- $resolver : OptionsResolver
Return values
mixed —finishView()
Finishes the form view.
public
finishView(FormView $view, FormInterface $form, array<string|int, mixed> $options) : mixed
Parameters
- $view : FormView
- $form : FormInterface
- $options : array<string|int, mixed>
Return values
mixed —getBlockPrefix()
Returns the prefix of the template block name for this type.
public
getBlockPrefix() : string
Return values
string —The prefix of the template block name
getParent()
Returns the name of the parent type.
public
getParent() : string|null
Return values
string|null —The name of the parent type if any, null otherwise