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

FormConfigBuilder::setRequestHandler()

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

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

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

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

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

FormConfigBuilder::setFormFactory()

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

FormConfigBuilder::setErrorBubbling()

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

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

FormConfigBuilder::setDisabled()

FormConfigBuilderInterface setDisabled(bool $disabled) Set whether the form is disabled. Parameters bool $disabled Whether the form is disabled Return Value FormConfigBuilderInterface The configuration object