FormConfigBuilderInterface::setRequired()

FormConfigBuilderInterface setRequired(bool $required) Sets whether this field is required to be filled out when submitted. Parameters bool $required Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setType()

FormConfigBuilderInterface setType(ResolvedFormTypeInterface $type) Set the types. Parameters ResolvedFormTypeInterface $type The type of the form Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setRequestHandler()

FormConfigBuilderInterface setRequestHandler(RequestHandlerInterface $requestHandler) Sets the request handler used by the form. Parameters RequestHandlerInterface $requestHandler Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setInheritData()

FormConfigBuilderInterface setInheritData(bool $inheritData) Sets whether the form should read and write the data of its parent. Parameters bool $inheritData Whether the form should inherit its parent's data Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setMapped()

FormConfigBuilderInterface setMapped(bool $mapped) Sets whether the form should be mapped to an element of its parent's data. Parameters bool $mapped Whether the form should be mapped Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setMethod()

FormConfigBuilderInterface setMethod(string $method) Sets the HTTP method used by the form. Parameters string $method The HTTP method of the form Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setPropertyPath()

FormConfigBuilderInterface setPropertyPath(null|string|PropertyPathInterface $propertyPath) Sets the property path that the form should be mapped to. Parameters null|string|PropertyPathInterface $propertyPath The property path or null if the path should be set automatically based on the form's name. Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setFormFactory()

setFormFactory(FormFactoryInterface $formFactory) Sets the form factory used for creating new forms. Parameters FormFactoryInterface $formFactory The form factory

FormConfigBuilderInterface::setErrorBubbling()

FormConfigBuilderInterface setErrorBubbling(bool $errorBubbling) Sets whether errors bubble up to the parent. Parameters bool $errorBubbling Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setEmptyData()

FormConfigBuilderInterface setEmptyData(mixed $emptyData) Sets the data used for the client data when no value is submitted. Parameters mixed $emptyData The empty data Return Value FormConfigBuilderInterface The configuration object