ResolvedFormTypeInterface::createBuilder()

FormBuilderInterface createBuilder(FormFactoryInterface $factory, string $name, array $options = array()) Creates a new form builder for this type. Parameters FormFactoryInterface $factory The form factory string $name The name for the builder array $options The builder options Return Value FormBuilderInterface The created form builder

ResolvedFormTypeInterface::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

ResolvedFormTypeInterface::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

ResolvedFormTypeInterface

interface ResolvedFormTypeInterface A wrapper for a form type and its extensions. Methods 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. FormTypeExtensionInterface[] getTypeExtensions() Returns the extensions of the wrapped form type. FormBuilderInterface createBuilder(FormFactoryInterface $factory, s

ResolvedFormTypeFactoryInterface

interface ResolvedFormTypeFactoryInterface Creates ResolvedFormTypeInterface instances. This interface allows you to use your custom ResolvedFormTypeInterface implementation, within which you can customize the concrete FormBuilderInterface implementations or FormView subclasses that are used by the framework. Methods ResolvedFormTypeInterface createResolvedType(FormTypeInterface $type, array $typeExtensions, ResolvedFormTypeInterface $parent = null) Resolves a form type. Details

ResolvedFormTypeFactory

class ResolvedFormTypeFactory implements ResolvedFormTypeFactoryInterface Methods ResolvedFormTypeInterface createResolvedType(FormTypeInterface $type, array $typeExtensions, ResolvedFormTypeInterface $parent = null) Resolves a form type. Details ResolvedFormTypeInterface createResolvedType(FormTypeInterface $type, array $typeExtensions, ResolvedFormTypeInterface $parent = null) Resolves a form type. Parameters FormTypeInterface $type array $t

ResolvedFormType::getTypeExtensions()

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

ResolvedFormType::getParent()

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

ResolvedFormType::getOptionsResolver()

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

ResolvedFormType::getInnerType()

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