FormConfigBuilderInterface::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
2016-10-28 06:18:09
Comments
Leave a Comment

Please login to continue.