W3cubDocs

/Drupal 8

interface FormInterface

Provides an interface for a Form.

Hierarchy

Related topics

Form generation
Describes how to generate and manipulate forms and process form submissions.

File

core/lib/Drupal/Core/Form/FormInterface.php, line 10

Namespace

Drupal\Core\Form

Members

Name Modifiers Type Description
FormInterface::buildForm public function Form constructor. Overrides FormInterface::buildForm
FormInterface::getFormId public function Returns a unique string identifying the form.
FormInterface::submitForm public function Form submission handler.
FormInterface::validateForm public function Form validation handler.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!FormInterface.php/interface/FormInterface/8.1.x