Search for build
- Search 7.x for build
- Search 9.5.x for build
- Search 8.9.x for build
- Search 10.3.x for build
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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/ |
|
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::testGetAjaxRequest | function | core/ |
@covers ::buildForm |
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::testGetFormIdWithNonFormClass | function | core/ |
@covers ::getFormId |
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. |
FormBuilderTest::testGetFormWithObject | function | core/ |
Tests the getForm() method with a form object. |
FormBuilderTest::testGetFormWithString | function | core/ |
Tests the getForm() method with a string based form ID. |
FormBuilderTest::testHandleFormStateResponse | function | core/ |
Tests the handling of FormStateInterface::$response. |
FormBuilderTest::testHandleRedirectWithResponse | function | core/ |
Tests the handling of a redirect when FormStateInterface::$response exists. |
FormBuilderTest::testInvalidToken | function | core/ |
@covers ::doBuildForm |
FormBuilderTest::testPostAjaxRequest | function | core/ |
@covers ::buildForm |
FormBuilderTest::testRebuildForm | function | core/ |
Tests the rebuildForm() method for a POST submission. |
FormBuilderTest::testRebuildFormOnGetRequest | function | core/ |
Tests the rebuildForm() method for a GET submission. |
FormBuilderTest::testUniqueElementHtmlId | function | core/ |
Tests that HTML IDs are unique between 2 forms with the same element names. |
FormBuilderTest::testUniqueHtmlId | function | core/ |
Tests that HTML IDs are unique when rebuilding a form with errors. |
Pagination
- Previous page
- Page 25
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.