FormInterface::isDisabled()

bool isDisabled() Returns whether this form is disabled. The content of a disabled form is displayed, but not allowed to be modified. The validation of modified disabled forms should fail. Forms whose parents are disabled are considered disabled regardless of their own state. Return Value bool

FormInterface::initialize()

FormInterface initialize() Initializes the form tree. Should be called on the root form after constructing the tree. Return Value FormInterface The form instance

FormInterface::has()

bool has(string $name) Returns whether a child with the given name exists. Parameters string $name The name of the child Return Value bool

FormInterface::handleRequest()

FormInterface handleRequest(mixed $request = null) Inspects the given request and calls {@link submit()} if the form was submitted. Internally, the request is forwarded to the configured {@link RequestHandlerInterface} instance, which determines whether to submit the form or not. Parameters mixed $request The request to handle Return Value FormInterface The form instance

FormInterface::getViewData()

mixed getViewData() Returns the data transformed by the value transformer. Return Value mixed

FormInterface::getTransformationFailure()

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

FormInterface::getRoot()

FormInterface getRoot() Returns the root of the form tree. Return Value FormInterface The root of the tree

FormInterface::getPropertyPath()

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

FormInterface::getParent()

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

FormInterface::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.