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
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.