/Drupal 8

interface FormBuilderInterface

Provides an interface for form building and processing.



core/lib/Drupal/Core/Form/FormBuilderInterface.php, line 8




Name Modifiers Type Description
FormBuilderInterface::AJAX_FORM_REQUEST constant Request key for AJAX forms that submit to the form's original route.
FormBuilderInterface::buildForm public function Builds and processes a form for a given form ID.
FormBuilderInterface::doBuildForm public function Builds and processes all elements in the structured form array.
FormBuilderInterface::getForm public function Gets a renderable form array.
FormBuilderInterface::getFormId public function Determines the ID of a form.
FormBuilderInterface::prepareForm public function Prepares a structured form array.
FormBuilderInterface::processForm public function Processes a form submission.
FormBuilderInterface::rebuildForm public function Constructs a new $form from the information in $form_state.
FormBuilderInterface::retrieveForm public function Retrieves the structured array that defines a given form.
FormBuilderInterface::submitForm public function Retrieves, populates, and processes a form.

© 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.