Search for test
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Test | class | core/ |
Provides test media source. |
| Test | class | core/ |
Defines a test controller for page titles. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| FormBuilderTest::testGetFormIdWithInjectedClassName | function | core/ |
Tests the getFormId() method with an injected class name form ID. |
| FormBuilderTest::testGetFormIdWithNonFormClass | function | core/ |
@covers ::getFormId[[api-linebreak]] |
| 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[[api-linebreak]] |
| FormBuilderTest::testPostAjaxRequest | function | core/ |
@covers ::buildForm[[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]] |
| FormCacheTest | class | core/ |
@coversDefaultClass \Drupal\Core\Form\FormCache[[api-linebreak]] @group Form |
| FormCacheTest | class | core/ |
Tests FormBuilder caching. |
| 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 install. |
| 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. |
| FormCacheTest::testCacheToken | function | core/ |
Tests the form cache with a logged-in user. |
| FormCacheTest::testDeleteCache | function | core/ |
@covers ::deleteCache[[api-linebreak]] |
| FormCacheTest::testGetCacheAnonUser | function | core/ |
@covers ::getCache[[api-linebreak]] |
| FormCacheTest::testGetCacheAuthUser | function | core/ |
@covers ::getCache[[api-linebreak]] |
| FormCacheTest::testGetCacheImmutableForm | function | core/ |
@covers ::getCache[[api-linebreak]] |
| FormCacheTest::testGetCacheInvalidToken | function | core/ |
@covers ::getCache[[api-linebreak]] |
| FormCacheTest::testGetCacheNoForm | function | core/ |
@covers ::getCache[[api-linebreak]] |
| FormCacheTest::testGetCacheValidToken | function | core/ |
@covers ::getCache[[api-linebreak]] |
| FormCacheTest::testLoadCachedFormState | function | core/ |
@covers ::loadCachedFormState[[api-linebreak]] |
| FormCacheTest::testLoadCachedFormStateWithFiles | function | core/ |
@covers ::loadCachedFormState[[api-linebreak]] |
| FormCacheTest::testNoCacheToken | function | core/ |
Tests the form cache without a logged-in user. |
Pagination
- Previous page
- Page 324
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.