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::setCompound()

FormConfigBuilderInterface setCompound(bool $compound) Sets whether the form should be compound. Parameters bool $compound Whether the form should be compound Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilder::setByReference()

FormConfigBuilderInterface setByReference(bool $byReference) Sets whether the form's data should be modified by reference. Parameters bool $byReference Whether the data should be modified by reference. Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilder::setDataLocked()

FormConfigBuilderInterface setDataLocked(bool $locked) Locks the form's data to the data passed in the configuration. A form with locked data is restricted to the data passed in this configuration. The data can only be modified then by submitting the form. Parameters bool $locked Whether to lock the default data Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilder::setAutoInitialize()

FormConfigBuilderInterface setAutoInitialize(bool $initialize) Sets whether the form should be initialized automatically. Should be set to true only for root forms. Parameters bool $initialize True to initialize the form automatically, false to suppress automatic initialization. In the second case, you need to call {@link FormInterface::initialize()} manually. Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilder::setData()

FormConfigBuilderInterface setData(mixed $data) Sets the initial data of the form. Parameters mixed $data The data of the form in application format Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilder::setAttribute()

FormConfigBuilderInterface setAttribute(string $name, mixed $value) Sets the value for an attribute. Parameters string $name The name of the attribute mixed $value The value of the attribute Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilder::setAction()

FormConfigBuilderInterface setAction(string $action) Sets the target URL of the form. Parameters string $action The target URL of the form Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilder::setAttributes()

FormConfigBuilderInterface setAttributes(array $attributes) Sets the attributes. Parameters array $attributes The attributes Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilder::resetViewTransformers()

FormConfigBuilderInterface resetViewTransformers() Clears the view transformers. Return Value FormConfigBuilderInterface The configuration object