Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| CacheableMetadata::setCacheMaxAge | function | core/ |
Sets the maximum age (in seconds). |
| CacheableMetadata::setCacheTags | function | core/ |
Sets cache tags. |
| CacheableMetadataCalculationTest | class | core/ |
Tests that cacheability metadata is only calculated when needed. |
| CacheableMetadataCalculationTest | class | core/ |
Tests plugin that reports when cacheable metadata is being calculated. |
| CacheableMetadataCalculationTest.php | file | core/ |
|
| CacheableMetadataCalculationTest.php | file | core/ |
|
| CacheableMetadataCalculationTest::$entityTypeManager | property | core/ |
The entity type manager. |
| CacheableMetadataCalculationTest::$modules | property | core/ |
Modules to install. |
| CacheableMetadataCalculationTest::$state | property | core/ |
The state service. |
| CacheableMetadataCalculationTest::$state | property | core/ |
The state service. |
| CacheableMetadataCalculationTest::access | function | core/ |
Determine if the current user has access or not. |
| CacheableMetadataCalculationTest::alterRouteDefinition | function | core/ |
Allows access plugins to alter the route definition of a view. |
| CacheableMetadataCalculationTest::assertCacheableMetadataHasBeenCalculated | function | core/ |
Checks whether the view has calculated its cacheability metadata. |
| CacheableMetadataCalculationTest::cacheableMetadataHasBeenAccessed | function | core/ |
Sets a flag to inform tests that cacheable metadata has been accessed. |
| CacheableMetadataCalculationTest::create | function | core/ |
Instantiates a new instance of the implementing class using autowiring. |
| CacheableMetadataCalculationTest::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| CacheableMetadataCalculationTest::getCacheMaxAge | function | core/ |
The maximum age for which this object may be cached. |
| CacheableMetadataCalculationTest::getCacheTags | function | core/ |
The cache tags associated with this object. |
| CacheableMetadataCalculationTest::resetState | function | core/ |
Resets the state so we are ready for a new test. |
| CacheableMetadataCalculationTest::setUp | function | core/ |
|
| CacheableMetadataCalculationTest::testCacheableMetadataCalculation | function | core/ |
Tests that cacheability metadata is only calculated when needed. |
| CacheableMetadataCalculationTest::TEST_MODULE | constant | core/ |
The ID of the module used in the test. |
| CacheableMetadataCalculationTest::TEST_VIEW_ID | constant | core/ |
The ID of the view used in the test. |
| CacheableMetadataCalculationTest::__construct | function | core/ |
Constructs a CacheableMetadataCalculationTest access plugin. |
| CacheableMetadataTest | class | core/ |
Tests Drupal\Core\Cache\CacheableMetadata. |
| CacheableMetadataTest.php | file | core/ |
|
| CacheableMetadataTest::providerSetCacheMaxAge | function | core/ |
Data provider for testSetCacheMaxAge. |
| CacheableMetadataTest::providerTestCreateFromObject | function | core/ |
Provides test data for createFromObject(). |
| CacheableMetadataTest::providerTestCreateFromRenderArray | function | core/ |
Provides test data for createFromRenderArray(). |
| CacheableMetadataTest::providerTestMerge | function | core/ |
Provides test data for testMerge(). |
| CacheableMetadataTest::testAddCacheableDependency | function | core/ |
Tests addCacheableDependency(). |
| CacheableMetadataTest::testAddCacheTags | function | core/ |
This delegates to Cache::mergeTags(), so just a basic test. |
| CacheableMetadataTest::testCreateFromObject | function | core/ |
Tests create from object. |
| CacheableMetadataTest::testCreateFromRenderArray | function | core/ |
Tests create from render array. |
| CacheableMetadataTest::testMerge | function | core/ |
Tests merge(). |
| CacheableMetadataTest::testSetCacheMaxAge | function | core/ |
Tests valid and invalid values as max age. |
| CacheableMethodNotAllowedHttpException | class | core/ |
A cacheable MethodNotAllowedHttpException. |
| CacheableMethodNotAllowedHttpException.php | file | core/ |
|
| CacheableMethodNotAllowedHttpException::__construct | function | core/ |
|
| CacheableNormalization | class | core/ |
Use to store normalized data and its cacheability. |
| CacheableNormalization.php | file | core/ |
|
| CacheableNormalization::$normalization | property | core/ |
A normalized value. |
| CacheableNormalization::aggregate | function | core/ |
Collects an array of CacheableNormalizations into a single instance. |
| CacheableNormalization::getNormalization | function | core/ |
Gets the decorated normalization. |
| CacheableNormalization::hasNoNestedInstances | function | core/ |
Ensures that no nested values are instances of this class. |
| CacheableNormalization::omitIfEmpty | function | core/ |
Converts the object to a CacheableOmission if the normalization is empty. |
| CacheableNormalization::permanent | function | core/ |
Creates a CacheableNormalization instance without any special cacheability. |
| CacheableNormalization::withCacheableDependency | function | core/ |
Gets a new CacheableNormalization with an additional dependency. |
| CacheableNormalization::__construct | function | core/ |
CacheableNormalization constructor. |
| CacheableNormalizerInterface | interface | core/ |
Defines the interface for normalizers producing cacheable normalizations. |
Pagination
- Previous page
- Page 141
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.