Form::getTransformationFailure()

TransformationFailedException|null getTransformationFailure() Returns the data transformation failure, if any. Return Value TransformationFailedException|null The transformation failure

Form::getNormData()

mixed getNormData() Returns the normalized data of the field. Return Value mixed When the field is not submitted, the default data is returned When the field is submitted, the normalized submitted data is returned if the field is valid, null otherwise.

Form::getPropertyPath()

PropertyPathInterface getPropertyPath() Returns the property path that the form is mapped to. Return Value PropertyPathInterface The property path

Form::getParent()

FormInterface|null getParent() Returns the parent form. Return Value FormInterface|null The parent form or null if there is none

Form::getPhpValues()

array getPhpValues() Gets the field values as PHP. This method converts fields with the array notation (like foo[bar] to arrays) like PHP does. Return Value array An array of field values

Form::getPhpFiles()

array getPhpFiles() Gets the file field values as PHP. This method converts fields with the array notation (like foo[bar] to arrays) like PHP does. The returned array is consistent with the array for field values (see getPhpValues), rather than uploaded files found in $FILES. For a compound file field foo[bar] it will create foo[bar][name], instead of foo[name][bar] which would be found in $FILES. Return Value array An array of file field values

Form::getName()

string getName() Returns the name by which the form is identified in forms. Return Value string The name of the form

Form::getMethod()

string getMethod() Gets the form method. If no method is defined in the form, GET is returned. Return Value string The method

Form::getIterator()

Traversable|FormInterface[] getIterator() Returns the iterator for this group. Return Value Traversable|FormInterface[]

Form::getFiles()

array getFiles() Gets the file field values. Return Value array An array of file field values