ResolvedFormTypeInterface
interface ResolvedFormTypeInterface
A wrapper for a form type and its extensions.
Methods
Returns the prefix of the template block name for this type.
Returns the parent type.
Returns the wrapped form type.
Returns the extensions of the wrapped form type.
Creates a new form builder for this type.
Creates a new form view for a form of this type.
Configures a form builder for the type hierarchy.
Configures a form view for the type hierarchy.
Finishes a form view for the type hierarchy.
Returns the configured options resolver used for this type.
Details
FormBuilderInterface
createBuilder(FormFactoryInterface$factory,string$name,array$options =[])
Creates a new form builder for this type.
FormView
createView(FormInterface$form,FormView$parent =null)
Creates a new form view for a form of this type.
void
buildForm(FormBuilderInterface$builder,array$options)
Configures a form builder for the type hierarchy.
void
buildView(FormView$view,FormInterface$form,array$options)
Configures a form view for the type hierarchy.
It is called before the children of the view are built.