Button::getParent()

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

Button::getNormData()

mixed getNormData() Unsupported method. 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.

Button::getPropertyPath()

PropertyPathInterface getPropertyPath() Unsupported method. Return Value PropertyPathInterface The property path

Button::getRoot()

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

Button::getErrors()

FormErrorIterator getErrors(bool $deep = false, bool $flatten = true) Returns the errors of this form. Parameters bool $deep Whether to include errors of child forms as well bool $flatten Whether to flatten the list of errors in case $deep is set to true Return Value FormErrorIterator An iterator over the {@link FormError} instances that where added to this form

Button::getData()

mixed getData() Unsupported method. Return Value mixed

Button::getExtraData()

array getExtraData() Unsupported method. Return Value array The submitted data which do not belong to a child

Button::getName()

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

Button::getIterator()

EmptyIterator getIterator() Unsupported method. Return Value EmptyIterator Always returns an empty iterator

Button::createView()

FormView createView(FormView $parent = null) Creates a view. Parameters FormView $parent The parent view Return Value FormView The view