Search for build

  1. Search 7.x for build
  2. Search 9.5.x for build
  3. Search 8.9.x for build
  4. Search 10.3.x for build
  5. Other projects
Title Object type File name Summary
FormBuilder::$eventDispatcher property core/lib/Drupal/Core/Form/FormBuilder.php The event dispatcher.
FormBuilder::$formCache property core/lib/Drupal/Core/Form/FormBuilder.php The form cache.
FormBuilder::$formSubmitter property core/lib/Drupal/Core/Form/FormBuilder.php The form submitter.
FormBuilder::$formValidator property core/lib/Drupal/Core/Form/FormBuilder.php The form validator.
FormBuilder::$moduleHandler property core/lib/Drupal/Core/Form/FormBuilder.php The module handler.
FormBuilder::$requestStack property core/lib/Drupal/Core/Form/FormBuilder.php The request stack.
FormBuilder::$safeCoreValueCallables property core/lib/Drupal/Core/Form/FormBuilder.php Defines callables that are safe to run with invalid CSRF tokens.
FormBuilder::$themeManager property core/lib/Drupal/Core/Form/FormBuilder.php The theme manager.
FormBuilder::buildForm function core/lib/Drupal/Core/Form/FormBuilder.php Builds and processes a form for a given form ID.
FormBuilder::buildFormAction function core/lib/Drupal/Core/Form/FormBuilder.php Builds the $form['#action'].
FormBuilder::buttonWasClicked function core/lib/Drupal/Core/Form/FormBuilder.php Determines if a given button triggered the form submission.
FormBuilder::currentUser function core/lib/Drupal/Core/Form/FormBuilder.php Gets the current active user.
FormBuilder::deleteCache function core/lib/Drupal/Core/Form/FormBuilder.php Deletes a form in the cache.
FormBuilder::doBuildForm function core/lib/Drupal/Core/Form/FormBuilder.php Builds and processes all elements in the structured form array.
FormBuilder::doSubmitForm function core/lib/Drupal/Core/Form/FormBuilder.php Handles the submitted form, executing callbacks and processing responses.
FormBuilder::elementTriggeredScriptedSubmission function core/lib/Drupal/Core/Form/FormBuilder.php Detects if an element triggered the form submission via Ajax.
FormBuilder::executeSubmitHandlers function core/lib/Drupal/Core/Form/FormBuilder.php Executes custom submission handlers for a given form.
FormBuilder::executeValidateHandlers function core/lib/Drupal/Core/Form/FormBuilder.php Executes custom validation handlers for a given form.
FormBuilder::getCache function core/lib/Drupal/Core/Form/FormBuilder.php Fetches a form from the cache.
FormBuilder::getFileUploadMaxSize function core/lib/Drupal/Core/Form/FormBuilder.php Wraps file_upload_max_size().
FormBuilder::getForm function core/lib/Drupal/Core/Form/FormBuilder.php Gets a renderable form array.
FormBuilder::getFormId function core/lib/Drupal/Core/Form/FormBuilder.php Determines the ID of a form.
FormBuilder::handleInputElement function core/lib/Drupal/Core/Form/FormBuilder.php Adds the #name and #value properties of an input element before rendering.
FormBuilder::prepareForm function core/lib/Drupal/Core/Form/FormBuilder.php Prepares a structured form array.
FormBuilder::processForm function core/lib/Drupal/Core/Form/FormBuilder.php Processes a form submission.
FormBuilder::rebuildForm function core/lib/Drupal/Core/Form/FormBuilder.php Constructs a new $form from the information in $form_state.
FormBuilder::redirectForm function core/lib/Drupal/Core/Form/FormBuilder.php Redirects the user to a URL after a form has been processed.
FormBuilder::renderFormTokenPlaceholder function core/lib/Drupal/Core/Form/FormBuilder.php Renders the form CSRF token. It's a #lazy_builder callback.
FormBuilder::renderPlaceholderFormAction function core/lib/Drupal/Core/Form/FormBuilder.php Renders a form action URL. It's a #lazy_builder callback.
FormBuilder::retrieveForm function core/lib/Drupal/Core/Form/FormBuilder.php Retrieves the structured array that defines a given form.
FormBuilder::setCache function core/lib/Drupal/Core/Form/FormBuilder.php Stores a form in the cache.
FormBuilder::setInvalidTokenError function core/lib/Drupal/Core/Form/FormBuilder.php Sets a form_token error on the given form state.
FormBuilder::submitForm function core/lib/Drupal/Core/Form/FormBuilder.php Retrieves, populates, and processes a form.
FormBuilder::trustedCallbacks function core/lib/Drupal/Core/Form/FormBuilder.php Lists the trusted callbacks provided by the implementing class.
FormBuilder::validateForm function core/lib/Drupal/Core/Form/FormBuilder.php Validates user-submitted form data in the $form_state.
FormBuilder::valueCallableIsSafe function core/lib/Drupal/Core/Form/FormBuilder.php Helper function to normalize the different callable formats.
FormBuilder::__construct function core/lib/Drupal/Core/Form/FormBuilder.php Constructs a new FormBuilder.
FormBuilderInterface interface core/lib/Drupal/Core/Form/FormBuilderInterface.php Provides an interface for form building and processing.
FormBuilderInterface.php file core/lib/Drupal/Core/Form/FormBuilderInterface.php
FormBuilderInterface::AJAX_FORM_REQUEST constant core/lib/Drupal/Core/Form/FormBuilderInterface.php Request key for AJAX forms that submit to the form's original route.
FormBuilderInterface::buildForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Builds and processes a form for a given form ID.
FormBuilderInterface::doBuildForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Builds and processes all elements in the structured form array.
FormBuilderInterface::getForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Gets a renderable form array.
FormBuilderInterface::getFormId function core/lib/Drupal/Core/Form/FormBuilderInterface.php Determines the ID of a form.
FormBuilderInterface::prepareForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Prepares a structured form array.
FormBuilderInterface::processForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Processes a form submission.
FormBuilderInterface::rebuildForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Constructs a new $form from the information in $form_state.
FormBuilderInterface::retrieveForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Retrieves the structured array that defines a given form.
FormBuilderInterface::submitForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Retrieves, populates, and processes a form.
FormBuilderTest class core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @coversDefaultClass \Drupal\Core\Form\FormBuilder
@group Form

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.