Search for build
- Search 7.x for build
- Search 9.5.x for build
- Search 10.3.x for build
- Search 11.x for build
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
FormBuilder::rebuildForm | function | core/ |
Constructs a new $form from the information in $form_state. |
FormBuilder::redirectForm | function | core/ |
Redirects the user to a URL after a form has been processed. |
FormBuilder::renderFormTokenPlaceholder | function | core/ |
Renders the form CSRF token. It's a #lazy_builder callback. |
FormBuilder::renderPlaceholderFormAction | function | core/ |
Renders a form action URL. It's a #lazy_builder callback. |
FormBuilder::retrieveForm | function | core/ |
Retrieves the structured array that defines a given form. |
FormBuilder::setCache | function | core/ |
Stores a form in the cache. |
FormBuilder::setInvalidTokenError | function | core/ |
Sets a form_token error on the given form state. |
FormBuilder::submitForm | function | core/ |
Retrieves, populates, and processes a form. |
FormBuilder::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
FormBuilder::validateForm | function | core/ |
Validates user-submitted form data in the $form_state. |
FormBuilder::valueCallableIsSafe | function | core/ |
Helper function to normalize the different callable formats. |
FormBuilder::__construct | function | core/ |
Constructs a new FormBuilder. |
FormBuilderInterface | interface | core/ |
Provides an interface for form building and processing. |
FormBuilderInterface.php | file | core/ |
|
FormBuilderInterface::AJAX_FORM_REQUEST | constant | core/ |
Request key for AJAX forms that submit to the form's original route. |
FormBuilderInterface::buildForm | function | core/ |
Builds and processes a form for a given form ID. |
FormBuilderInterface::doBuildForm | function | core/ |
Builds and processes all elements in the structured form array. |
FormBuilderInterface::getForm | function | core/ |
Gets a renderable form array. |
FormBuilderInterface::getFormId | function | core/ |
Determines the ID of a form. |
FormBuilderInterface::prepareForm | function | core/ |
Prepares a structured form array. |
FormBuilderInterface::processForm | function | core/ |
Processes a form submission. |
FormBuilderInterface::rebuildForm | function | core/ |
Constructs a new $form from the information in $form_state. |
FormBuilderInterface::retrieveForm | function | core/ |
Retrieves the structured array that defines a given form. |
FormBuilderInterface::submitForm | function | core/ |
Retrieves, populates, and processes a form. |
FormBuilderTest | class | core/ |
@coversDefaultClass \Drupal\Core\Form\FormBuilder @group Form |
FormBuilderTest.php | file | core/ |
Contains \Drupal\Tests\Core\Form\FormBuilderTest. |
FormBuilderTest::$container | property | core/ |
The dependency injection container. |
FormBuilderTest::formStateResponseProvider | function | core/ |
Provides test data for testHandleFormStateResponse(). |
FormBuilderTest::providerTestBuildFormWithTriggeringElement | function | core/ |
Data provider for ::testBuildFormWithTriggeringElement(). |
FormBuilderTest::providerTestChildAccessInheritance | function | core/ |
Data provider for testChildAccessInheritance. |
FormBuilderTest::providerTestFormTokenCacheability | function | core/ |
Data provider for testFormTokenCacheability. |
FormBuilderTest::providerTestInvalidToken | function | core/ |
|
FormBuilderTest::providerTestValueCallableIsSafe | function | core/ |
|
FormBuilderTest::setUp | function | core/ |
|
FormBuilderTest::testBuildFormWithClassString | function | core/ |
Tests the buildForm() method with a class name based form ID. |
FormBuilderTest::testBuildFormWithObject | function | core/ |
Tests the buildForm() method with a form object. |
FormBuilderTest::testBuildFormWithString | function | core/ |
Tests the buildForm() method with a string based form ID. |
FormBuilderTest::testBuildFormWithTriggeringElement | function | core/ |
Tests whether the triggering element is properly identified. |
FormBuilderTest::testChildAccessInheritance | function | core/ |
@covers ::buildForm |
FormBuilderTest::testExceededFileSize | function | core/ |
@covers ::buildForm |
FormBuilderTest::testFormCacheDeletionCached | function | core/ |
Tests that a cached form is deleted after submit. |
FormBuilderTest::testFormCacheDeletionUncached | function | core/ |
Tests that an uncached form does not trigger cache set or delete. |
FormBuilderTest::testFormTokenCacheability | function | core/ |
@covers ::prepareForm |
FormBuilderTest::testGetCache | function | core/ |
Tests the getCache() method. |
FormBuilderTest::testGetFormIdWithBaseForm | function | core/ |
Tests the getFormId() method with a base form object. |
FormBuilderTest::testGetFormIdWithClassName | function | core/ |
Tests the getFormId() method with a class name form ID. |
FormBuilderTest::testGetFormIdWithInjectedClassName | function | core/ |
Tests the getFormId() method with an injected class name form ID. |
FormBuilderTest::testGetFormIdWithObject | function | core/ |
Tests the getFormId() method with a form object. |
FormBuilderTest::testGetFormIdWithString | function | core/ |
Tests the getFormId() method with a string based form ID. |
FormBuilderTest::testGetFormWithClassString | function | core/ |
Tests the getForm() method with a class name based form ID. |
Pagination
- Previous page
- Page 23
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.