Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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]] |
| 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. |
| 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::testGetPostAjaxRequest | function | core/ |
@covers ::buildForm[[api-linebreak]] |
| 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[[api-linebreak]] |
| 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. |
| FormBuilderTest::testValueCallableIsSafe | function | core/ |
@covers ::valueCallableIsSafe[[api-linebreak]] |
| FormCache | class | core/ |
Encapsulates the caching of a form and its form state. |
| FormCache.php | file | core/ |
|
| FormCache::$configFactory | property | core/ |
The config factory. |
| FormCache::$csrfToken | property | core/ |
The CSRF token generator to validate the form token. |
| FormCache::$currentUser | property | core/ |
The current user. |
| FormCache::$keyValueExpirableFactory | property | core/ |
The factory for expirable key value stores used by form cache. |
| FormCache::$logger | property | core/ |
Logger channel. |
| FormCache::$moduleHandler | property | core/ |
The module handler. |
| FormCache::$requestPolicy | property | core/ |
A policy rule determining the cacheability of a request. |
| FormCache::$requestStack | property | core/ |
The request stack. |
| FormCache::$root | property | core/ |
The app root. |
| FormCache::deleteCache | function | core/ |
|
| FormCache::getCache | function | core/ |
|
| FormCache::loadCachedFormState | function | core/ |
Loads the cached form state. |
| FormCache::setCache | function | core/ |
|
| FormCache::__construct | function | core/ |
Constructs a new FormCache. |
| FormCacheInterface | interface | core/ |
Provides an interface for the caching of a form and its form state. |
| FormCacheInterface.php | file | core/ |
|
| FormCacheInterface::deleteCache | function | core/ |
Deletes a form in the cache. |
| FormCacheInterface::getCache | function | core/ |
Fetches a form from the cache. |
| FormCacheInterface::setCache | function | core/ |
Stores a form in the cache. |
Pagination
- Previous page
- Page 684
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.