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 |
|---|---|---|---|
| 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::$csrfToken | property | core/ |
The CSRF token generator to validate the form token. |
| FormCache::$currentUser | property | core/ |
The current user. |
| FormCache::$requestPolicy | property | core/ |
A policy rule determining the cacheability of a request. |
| FormCache::$requestStack | property | core/ |
The request stack. |
| FormCache::loadCachedFormState | function | core/ |
Loads the cached form state. |
| FormCache::setCache | function | core/ |
Stores a form in the cache. |
| FormCache::__construct | function | core/ |
Constructs a new FormCache. |
| FormCacheInterface::setCache | function | core/ |
Stores a form in the cache. |
| FormCacheTest | class | core/ |
@coversDefaultClass \Drupal\Core\Form\FormCache[[api-linebreak]] @group Form |
| FormCacheTest | class | core/ |
Tests \Drupal::formBuilder()->setCache() and \Drupal::formBuilder()->getCache(). |
| FormCacheTest.php | file | core/ |
|
| FormCacheTest.php | file | core/ |
|
| FormCacheTest::$account | property | core/ |
The current user. |
| FormCacheTest::$csrfToken | property | core/ |
The CSRF token generator. |
| FormCacheTest::$form | property | core/ |
|
| FormCacheTest::$formBuildId | property | core/ |
|
| FormCacheTest::$formCache | property | core/ |
The form cache object under test. |
| FormCacheTest::$formCacheStore | property | core/ |
The expirable key value store used by form cache. |
| FormCacheTest::$formState | property | core/ |
|
| FormCacheTest::$formStateCacheStore | property | core/ |
The expirable key value store used by form state cache. |
| FormCacheTest::$keyValueExpirableFactory | property | core/ |
The expirable key value factory. |
| FormCacheTest::$logger | property | core/ |
The logger channel. |
| FormCacheTest::$moduleHandler | property | core/ |
The mocked module handler. |
| FormCacheTest::$modules | property | core/ |
Modules to enable. |
| FormCacheTest::$preserveGlobalState | property | core/ |
|
| FormCacheTest::$requestPolicy | property | core/ |
A policy rule determining the cacheability of a request. |
| FormCacheTest::$requestStack | property | core/ |
The request stack. |
| FormCacheTest::$runTestInSeparateProcess | property | core/ |
|
| FormCacheTest::setUp | function | core/ |
|
| FormCacheTest::setUp | function | core/ |
|
| FormCacheTest::testCacheCustomExpiration | function | core/ |
Tests the form cache with an overridden cache expiration. |
Pagination
- Previous page
- Page 572
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.