FormConfigBuilder::getDisabled()

bool getDisabled() Returns whether the form is disabled. Return Value bool Whether the form is disabled

FormConfigBuilder::getFormConfig()

FormConfigInterface getFormConfig() Builds and returns the form configuration. Return Value FormConfigInterface

FormConfigBuilder::getData()

mixed getData() Returns the initial data of the form. Return Value mixed The initial form data

FormConfigBuilder::getDataLocked()

bool getDataLocked() Returns whether the form's data is locked. 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. Return Value bool Whether the data is locked

FormConfigBuilder::getCompound()

bool getCompound() Returns whether the form is compound. This property is independent of whether the form actually has children. A form can be compound and have no children at all, like for example an empty collection form. Return Value bool Whether the form is compound

FormConfigBuilder::getDataMapper()

DataMapperInterface getDataMapper() Returns the data mapper of the form. Return Value DataMapperInterface The data mapper

FormConfigBuilder::getDataClass()

string getDataClass() Returns the class of the form data or null if the data is scalar or an array. Return Value string The data class or null

FormConfigBuilder::getByReference()

bool getByReference() Returns whether the form's data should be modified by reference. Return Value bool Whether to modify the form's data by reference

FormConfigBuilder::getAutoInitialize()

bool getAutoInitialize() Returns whether the form should be initialized upon creation. Return Value bool Returns true if the form should be initialized when created, false otherwise.

FormConfigBuilder::getAttribute()

mixed getAttribute(string $name, mixed $default = null) Returns the value of the given attribute. Parameters string $name The attribute name mixed $default The value returned if the attribute does not exist Return Value mixed The attribute value