Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| FormBase::getRequest | function | core/ |
Gets the request object. |
| FormBase::getRouteMatch | function | core/ |
Gets the route match. |
| FormBase::logger | function | core/ |
Gets the logger for a specific channel. |
| FormBase::redirect | function | core/ |
Returns a redirect response object for the specified route. |
| FormBase::resetConfigFactory | function | core/ |
Resets the configuration factory. |
| FormBase::setConfigFactory | function | core/ |
Sets the config factory for this form. |
| FormBase::setRequestStack | function | core/ |
Sets the request stack object to use. |
| FormBase::validateForm | function | core/ |
Form validation handler. |
| FormBuilder::$classResolver | property | core/ |
The class resolver. |
| FormBuilder::$csrfToken | property | core/ |
The CSRF token generator to validate the form token. |
| FormBuilder::$currentUser | property | core/ |
The current user. |
| FormBuilder::$eventDispatcher | property | core/ |
The event dispatcher. |
| FormBuilder::$formSubmitter | property | core/ |
The form submitter. |
| FormBuilder::$requestStack | property | core/ |
The request stack. |
| FormBuilder::$safeCoreValueCallables | property | core/ |
Defines element value callables which are safe to run even when the form state has an invalid CSRF token. |
| FormBuilder::buttonWasClicked | function | core/ |
Determines if a given button triggered the form submission. |
| FormBuilder::currentUser | function | core/ |
Gets the current active user. |
| FormBuilder::doSubmitForm | function | core/ |
Handles the submitted form, executing callbacks and processing responses. |
| FormBuilder::elementTriggeredScriptedSubmission | function | core/ |
Detects if an element triggered the form submission via Ajax. |
| FormBuilder::executeSubmitHandlers | function | core/ |
Executes custom submission handlers for a given form. |
| FormBuilder::executeValidateHandlers | function | core/ |
Executes custom validation handlers for a given form. |
| FormBuilder::getFileUploadMaxSize | function | core/ |
Wraps file_upload_max_size(). |
| FormBuilder::processForm | function | core/ |
Processes a form submission. |
| 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::valueCallableIsSafe | function | core/ |
Helper function to normalize the different callable formats. |
| FormBuilder::__construct | function | core/ |
Constructs a new FormBuilder. |
| FormBuilderInterface::AJAX_FORM_REQUEST | constant | core/ |
Request key for AJAX forms that submit to the form's original route. |
| FormBuilderInterface::processForm | function | core/ |
Processes a form submission. |
| 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/ |
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[[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. |
Pagination
- Previous page
- Page 571
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.