ResolvedTypeDataCollectorProxy::buildView()

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. Parameters FormView $view The form view to configure FormInterface $form The form corresponding to the view array $options The options used for the configuration

ResolvedTypeDataCollectorProxy::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Configures a form builder for the type hierarchy. Parameters FormBuilderInterface $builder The builder to configure array $options The options used for the configuration

ResolvedTypeDataCollectorProxy

class ResolvedTypeDataCollectorProxy implements ResolvedFormTypeInterface Proxy that invokes a data collector when creating a form and its view. Methods __construct(ResolvedFormTypeInterface $proxiedType, FormDataCollectorInterface $dataCollector) string getBlockPrefix() Returns the prefix of the template block name for this type. ResolvedFormTypeInterface|null getParent() Returns the parent type. FormTypeInterface getInnerType() Returns the wrapped form type. FormType

ResolvedFormTypeInterface::getTypeExtensions()

FormTypeExtensionInterface[] getTypeExtensions() Returns the extensions of the wrapped form type. Return Value FormTypeExtensionInterface[] An array of {@link FormTypeExtensionInterface} instances

ResolvedFormTypeInterface::getParent()

ResolvedFormTypeInterface|null getParent() Returns the parent type. Return Value ResolvedFormTypeInterface|null The parent type or null

ResolvedFormTypeInterface::getOptionsResolver()

OptionsResolver getOptionsResolver() Returns the configured options resolver used for this type. Return Value OptionsResolver The options resolver

ResolvedFormTypeInterface::getInnerType()

FormTypeInterface getInnerType() Returns the wrapped form type. Return Value FormTypeInterface The wrapped form type

ResolvedFormTypeInterface::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. Return Value string The prefix of the template block name

ResolvedFormTypeInterface::finishView()

finishView(FormView $view, FormInterface $form, array $options) Finishes a form view for the type hierarchy. It is called after the children of the view have been built. Parameters FormView $view The form view to configure FormInterface $form The form corresponding to the view array $options The options used for the configuration

ResolvedFormTypeInterface::createView()

FormView createView(FormInterface $form, FormView $parent = null) Creates a new form view for a form of this type. Parameters FormInterface $form The form to create a view for FormView $parent The parent view or null Return Value FormView The created form view