CacheableMetadataCalculationTest.php |
file |
core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php |
|
CacheableMetadataCalculationTest::$entityTypeManager |
property |
core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php |
The entity type manager. |
CacheableMetadataCalculationTest::$modules |
property |
core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php |
Modules to install. |
CacheableMetadataCalculationTest::$state |
property |
core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php |
The state service. |
CacheableMetadataCalculationTest::$state |
property |
core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php |
The state service. |
CacheableMetadataCalculationTest::access |
function |
core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php |
Determine if the current user has access or not. |
CacheableMetadataCalculationTest::alterRouteDefinition |
function |
core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php |
Allows access plugins to alter the route definition of a view. |
CacheableMetadataCalculationTest::assertCacheableMetadataHasBeenCalculated |
function |
core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php |
Checks whether the view has calculated its cacheability metadata. |
CacheableMetadataCalculationTest::cacheableMetadataHasBeenAccessed |
function |
core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php |
Sets a flag to inform tests that cacheable metadata has been accessed. |
CacheableMetadataCalculationTest::create |
function |
core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php |
Creates an instance of the plugin. |
CacheableMetadataCalculationTest::getCacheContexts |
function |
core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php |
The cache contexts associated with this object. |
CacheableMetadataCalculationTest::getCacheMaxAge |
function |
core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php |
The maximum age for which this object may be cached. |
CacheableMetadataCalculationTest::getCacheTags |
function |
core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php |
The cache tags associated with this object. |
CacheableMetadataCalculationTest::resetState |
function |
core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php |
Resets the state so we are ready for a new test. |
CacheableMetadataCalculationTest::setUp |
function |
core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php |
|
CacheableMetadataCalculationTest::testCacheableMetadataCalculation |
function |
core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php |
Tests that cacheability metadata is only calculated when needed. |
CacheableMetadataCalculationTest::TEST_MODULE |
constant |
core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php |
The ID of the module used in the test. |
CacheableMetadataCalculationTest::TEST_VIEW_ID |
constant |
core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php |
The ID of the view used in the test. |
CacheableMetadataCalculationTest::__construct |
function |
core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php |
Constructs a CacheableMetadataCalculationTest access plugin. |
CacheableMetadataTest |
class |
core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php |
Tests Drupal\Core\Cache\CacheableMetadata. |
CacheableMetadataTest.php |
file |
core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php |
|
CacheableMetadataTest::providerSetCacheMaxAge |
function |
core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php |
Data provider for testSetCacheMaxAge. |
CacheableMetadataTest::providerTestCreateFromObject |
function |
core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php |
Provides test data for createFromObject(). |
CacheableMetadataTest::providerTestCreateFromRenderArray |
function |
core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php |
Provides test data for createFromRenderArray(). |
CacheableMetadataTest::providerTestMerge |
function |
core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php |
Provides test data for testMerge(). |
CacheableMetadataTest::testAddCacheableDependency |
function |
core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php |
Tests addCacheableDependency(). |
CacheableMetadataTest::testAddCacheTags |
function |
core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php |
This delegates to Cache::mergeTags(), so just a basic test. |
CacheableMetadataTest::testCreateFromObject |
function |
core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php |
Tests create from object. |
CacheableMetadataTest::testCreateFromRenderArray |
function |
core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php |
Tests create from render array. |
CacheableMetadataTest::testMerge |
function |
core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php |
Tests merge(). |
CacheableMetadataTest::testSetCacheMaxAge |
function |
core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php |
Tests valid and invalid values as max age. |
CacheableTestDomainObject |
class |
core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestDomainObject.php |
Test domain class with implemented CacheableDependencyInterface. |
CacheableTestDomainObject.php |
file |
core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestDomainObject.php |
|
CacheableTestResponse |
class |
core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestResponse.php |
Cacheable response used for testing. |
CacheableTestResponse.php |
file |
core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestResponse.php |
|
CacheCollectorTest |
class |
core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php |
Tests DatabaseBackend cache tag implementation. |
CacheCollectorTest |
class |
core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php |
Tests Drupal\Core\Cache\CacheCollector. |
CacheCollectorTest.php |
file |
core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php |
|
CacheCollectorTest.php |
file |
core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php |
|
CacheCollectorTest::$cacheBackend |
property |
core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php |
The cache backend that should be used. |
CacheCollectorTest::$cacheTagsInvalidator |
property |
core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php |
The cache tags invalidator. |
CacheCollectorTest::$cid |
property |
core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php |
The cache id used for the test. |
CacheCollectorTest::$collector |
property |
core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php |
Cache collector implementation to test. |
CacheCollectorTest::$lock |
property |
core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php |
The lock backend that should be used. |
CacheCollectorTest::providerTestInvalidCharacters |
function |
core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php |
Data provider for ::testCacheCollector(). |
CacheCollectorTest::register |
function |
core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php |
Registers test-specific services. |
CacheCollectorTest::setUp |
function |
core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php |
|
CacheCollectorTest::testCacheCollector |
function |
core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php |
Tests setting and invalidating. |
CacheCollectorTest::testDelete |
function |
core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php |
Tests setting and deleting values. |
CacheCollectorTest::testGetFromCache |
function |
core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php |
Tests returning value from the collected cache. |