mediatekformation

ResolvedFormTypeInterface

A wrapper for a form type and its extensions.

Tags
author

Bernhard Schussek bschussek@gmail.com

Table of Contents

buildForm()  : mixed
Configures a form builder for the type hierarchy.
buildView()  : mixed
Configures a form view for the type hierarchy.
createBuilder()  : FormBuilderInterface
Creates a new form builder for this type.
createView()  : FormView
Creates a new form view for a form of this type.
finishView()  : mixed
Finishes a form view for the type hierarchy.
getBlockPrefix()  : string
Returns the prefix of the template block name for this type.
getInnerType()  : FormTypeInterface
Returns the wrapped form type.
getOptionsResolver()  : OptionsResolver
Returns the configured options resolver used for this type.
getParent()  : self|null
Returns the parent type.
getTypeExtensions()  : array<string|int, FormTypeExtensionInterface>
Returns the extensions of the wrapped form type.

Methods

buildView()

Configures a form view for the type hierarchy.

public buildView(FormView $view, FormInterface $form, array<string|int, mixed> $options) : mixed

It is called before the children of the view are built.

Parameters
$view : FormView
$form : FormInterface
$options : array<string|int, mixed>
Return values
mixed

finishView()

Finishes a form view for the type hierarchy.

public finishView(FormView $view, FormInterface $form, array<string|int, mixed> $options) : mixed

It is called after the children of the view have been built.

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 parent type.

public getParent() : self|null
Return values
self|null

The parent type or null

Search results