Search for build
Title | Object type | File name | Summary |
---|---|---|---|
FormBuilder::getCache | function | core/ |
Fetches a form from the cache. |
FormBuilder::getFileUploadMaxSize | function | core/ |
Wraps file_upload_max_size(). |
FormBuilder::getForm | function | core/ |
Gets a renderable form array. |
FormBuilder::getFormId | function | core/ |
Determines the ID of a form. |
FormBuilder::handleInputElement | function | core/ |
Adds the #name and #value properties of an input element before rendering. |
FormBuilder::prepareForm | function | core/ |
Prepares a structured form array. |
FormBuilder::processForm | function | core/ |
Processes a form submission. |
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[[api-linebreak]] @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[[api-linebreak]] |
FormBuilderTest::testExceededFileSize | function | core/ |
@covers ::buildForm[[api-linebreak]] |
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[[api-linebreak]] |
Pagination
- Previous page
- Page 24
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.