FormBuilderInterface

Provides an interface for form building and processing.

Hierarchy

File

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

Namespace

Drupal\Core\Form

Members

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.
doc_Drupal
2016-10-29 09:15:28
Comments
Leave a Comment

Please login to continue.