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::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::isRequired()

bool isRequired() Returns whether the form is required to be filled out. If the form has a parent and the parent is not required, this method will always return false. Otherwise the value set with setRequired() is returned. Return Value bool

FormInterface::getRoot()

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

FormInterface::getTransformationFailure()

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

FormInterface::getPropertyPath()

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

FormInterface::getViewData()

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

FormInterface::getParent()

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

FormInterface::getConfig()

FormConfigInterface getConfig() Returns the form's configuration. Return Value FormConfigInterface The configuration