| FormBuilderTest::testPostAjaxRequest |
function |
core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php |
Tests post ajax request. |
| FormBuilderTest::testRebuildForm |
function |
core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php |
Tests the rebuildForm() method for a POST submission. |
| FormBuilderTest::testRebuildFormOnGetRequest |
function |
core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php |
Tests the rebuildForm() method for a GET submission. |
| FormBuilderTest::testTriggeringElement |
function |
core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php |
Tests the detection of the triggering element. |
| FormBuilderTest::testUniqueElementHtmlId |
function |
core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php |
Tests that HTML IDs are unique between 2 forms with the same element names. |
| FormBuilderTest::testUniqueHtmlId |
function |
core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php |
Tests that HTML IDs are unique when rebuilding a form with errors. |
| FormBuilderTest::testValueCallableIsSafe |
function |
core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php |
Tests value callable is safe. |
| FormCache |
class |
core/lib/Drupal/Core/Form/FormCache.php |
Encapsulates the caching of a form and its form state. |
| FormCache.php |
file |
core/lib/Drupal/Core/Form/FormCache.php |
|
| FormCache::$configFactory |
property |
core/lib/Drupal/Core/Form/FormCache.php |
The config factory. |
| FormCache::$csrfToken |
property |
core/lib/Drupal/Core/Form/FormCache.php |
The CSRF token generator to validate the form token. |
| FormCache::$currentUser |
property |
core/lib/Drupal/Core/Form/FormCache.php |
The current user. |
| FormCache::$keyValueExpirableFactory |
property |
core/lib/Drupal/Core/Form/FormCache.php |
The factory for expirable key value stores used by form cache. |
| FormCache::$logger |
property |
core/lib/Drupal/Core/Form/FormCache.php |
Logger channel. |
| FormCache::$moduleHandler |
property |
core/lib/Drupal/Core/Form/FormCache.php |
The module handler. |
| FormCache::$requestPolicy |
property |
core/lib/Drupal/Core/Form/FormCache.php |
A policy rule determining the cacheability of a request. |
| FormCache::$requestStack |
property |
core/lib/Drupal/Core/Form/FormCache.php |
The request stack. |
| FormCache::$root |
property |
core/lib/Drupal/Core/Form/FormCache.php |
The app root. |
| FormCache::deleteCache |
function |
core/lib/Drupal/Core/Form/FormCache.php |
Deletes a form in the cache. |
| FormCache::getCache |
function |
core/lib/Drupal/Core/Form/FormCache.php |
Fetches a form from the cache. |
| FormCache::loadCachedFormState |
function |
core/lib/Drupal/Core/Form/FormCache.php |
Loads the cached form state. |
| FormCache::setCache |
function |
core/lib/Drupal/Core/Form/FormCache.php |
Stores a form in the cache. |
| FormCache::__construct |
function |
core/lib/Drupal/Core/Form/FormCache.php |
Constructs a new FormCache. |
| FormCacheInterface |
interface |
core/lib/Drupal/Core/Form/FormCacheInterface.php |
Provides an interface for the caching of a form and its form state. |
| FormCacheInterface.php |
file |
core/lib/Drupal/Core/Form/FormCacheInterface.php |
|
| FormCacheInterface::deleteCache |
function |
core/lib/Drupal/Core/Form/FormCacheInterface.php |
Deletes a form in the cache. |
| FormCacheInterface::getCache |
function |
core/lib/Drupal/Core/Form/FormCacheInterface.php |
Fetches a form from the cache. |
| FormCacheInterface::setCache |
function |
core/lib/Drupal/Core/Form/FormCacheInterface.php |
Stores a form in the cache. |
| FormCacheTest |
class |
core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php |
Tests FormBuilder caching. |
| FormCacheTest |
class |
core/tests/Drupal/Tests/Core/Form/FormCacheTest.php |
Tests Drupal\Core\Form\FormCache. |
| FormCacheTest.php |
file |
core/tests/Drupal/Tests/Core/Form/FormCacheTest.php |
|
| FormCacheTest.php |
file |
core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php |
|
| FormCacheTest::$account |
property |
core/tests/Drupal/Tests/Core/Form/FormCacheTest.php |
The current user. |
| FormCacheTest::$csrfToken |
property |
core/tests/Drupal/Tests/Core/Form/FormCacheTest.php |
The CSRF token generator. |
| FormCacheTest::$form |
property |
core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php |
The form array. |
| FormCacheTest::$formBuildId |
property |
core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php |
The form ID. |
| FormCacheTest::$formCache |
property |
core/tests/Drupal/Tests/Core/Form/FormCacheTest.php |
The form cache object under test. |
| FormCacheTest::$formCacheStore |
property |
core/tests/Drupal/Tests/Core/Form/FormCacheTest.php |
The expirable key value store used by form cache. |
| FormCacheTest::$formState |
property |
core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php |
The form state array. |
| FormCacheTest::$formStateCacheStore |
property |
core/tests/Drupal/Tests/Core/Form/FormCacheTest.php |
The expirable key value store used by form state cache. |
| FormCacheTest::$keyValueExpirableFactory |
property |
core/tests/Drupal/Tests/Core/Form/FormCacheTest.php |
The expirable key value factory. |
| FormCacheTest::$logger |
property |
core/tests/Drupal/Tests/Core/Form/FormCacheTest.php |
The logger channel. |
| FormCacheTest::$moduleHandler |
property |
core/tests/Drupal/Tests/Core/Form/FormCacheTest.php |
The mocked module handler. |
| FormCacheTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php |
Modules to install. |
| FormCacheTest::$requestPolicy |
property |
core/tests/Drupal/Tests/Core/Form/FormCacheTest.php |
A policy rule determining the cacheability of a request. |
| FormCacheTest::$requestStack |
property |
core/tests/Drupal/Tests/Core/Form/FormCacheTest.php |
The request stack. |
| FormCacheTest::setUp |
function |
core/tests/Drupal/Tests/Core/Form/FormCacheTest.php |
|
| FormCacheTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php |
|
| FormCacheTest::testCacheCustomExpiration |
function |
core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php |
Tests the form cache with an overridden cache expiration. |
| FormCacheTest::testCacheToken |
function |
core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php |
Tests the form cache with a logged-in user. |