Search for build

  1. Search 7.x for build
  2. Search 9.5.x for build
  3. Search 10.3.x for build
  4. Search 11.x for build
  5. Other projects
Title Object type File name Summary
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
FormBuilderTest.php file core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Contains \Drupal\Tests\Core\Form\FormBuilderTest.
FormBuilderTest::$container property core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php The dependency injection container.
FormBuilderTest::formStateResponseProvider function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Provides test data for testHandleFormStateResponse().
FormBuilderTest::providerTestBuildFormWithTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for ::testBuildFormWithTriggeringElement().
FormBuilderTest::providerTestChildAccessInheritance function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for testChildAccessInheritance.
FormBuilderTest::providerTestFormTokenCacheability function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for testFormTokenCacheability.
FormBuilderTest::providerTestInvalidToken function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
FormBuilderTest::providerTestValueCallableIsSafe function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
FormBuilderTest::setUp function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
FormBuilderTest::testBuildFormWithClassString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the buildForm() method with a class name based form ID.
FormBuilderTest::testBuildFormWithObject function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the buildForm() method with a form object.
FormBuilderTest::testBuildFormWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the buildForm() method with a string based form ID.
FormBuilderTest::testBuildFormWithTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests whether the triggering element is properly identified.
FormBuilderTest::testChildAccessInheritance function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm
FormBuilderTest::testExceededFileSize function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm
FormBuilderTest::testFormCacheDeletionCached function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests that a cached form is deleted after submit.
FormBuilderTest::testFormCacheDeletionUncached function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests that an uncached form does not trigger cache set or delete.
FormBuilderTest::testFormTokenCacheability function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::prepareForm
FormBuilderTest::testGetCache function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getCache() method.
FormBuilderTest::testGetFormIdWithBaseForm function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a base form object.
FormBuilderTest::testGetFormIdWithClassName function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a class name form ID.
FormBuilderTest::testGetFormIdWithInjectedClassName function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with an injected class name form ID.
FormBuilderTest::testGetFormIdWithObject function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a form object.
FormBuilderTest::testGetFormIdWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a string based form ID.
FormBuilderTest::testGetFormWithClassString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getForm() method with a class name based form ID.

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