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 |
|---|---|---|---|
| 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/ |
Creates an instance of the plugin. |
| 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/ |
@coversDefaultClass \Drupal\Core\Cache\CacheableMetadata[[api-linebreak]] @group Cache |
| 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/ |
@covers ::addCacheableDependency[[api-linebreak]] @dataProvider providerTestMerge |
| CacheableMetadataTest::testAddCacheTags | function | core/ |
This delegates to Cache::mergeTags(), so just a basic test. |
| CacheableMetadataTest::testCreateFromObject | function | core/ |
@covers ::createFromObject[[api-linebreak]] @dataProvider providerTestCreateFromObject |
| CacheableMetadataTest::testCreateFromRenderArray | function | core/ |
@covers ::createFromRenderArray[[api-linebreak]] @dataProvider providerTestCreateFromRenderArray |
| CacheableMetadataTest::testMerge | function | core/ |
@covers ::merge[[api-linebreak]] @dataProvider providerTestMerge |
| CacheableMetadataTest::testSetCacheMaxAge | function | core/ |
Test valid and invalid values as max age. |
| CacheableMethodNotAllowedHttpException::__construct | function | core/ |
|
| CacheableNormalization::hasNoNestedInstances | function | core/ |
Ensures that no nested values are instances of this class. |
| CacheableNormalization::__construct | function | core/ |
CacheableNormalization constructor. |
| CacheableNormalizerInterface::SERIALIZATION_CONTEXT_CACHEABILITY | constant | core/ |
Name of key for bubbling cacheability metadata via serialization context. |
| CacheableNotAcceptableHttpException::__construct | function | core/ |
|
| CacheableNotFoundHttpException::__construct | function | core/ |
|
| CacheableOmission | class | core/ |
Represents the cacheability associated with the omission of a value. |
| CacheableOmission.php | file | core/ |
|
| CacheableOmission::getNormalization | function | core/ |
A CacheableOmission should never have its normalization retrieved. |
| CacheableOmission::permanent | function | core/ |
Creates a CacheableNormalization instance without any special cacheability. |
| CacheableOmission::__construct | function | core/ |
CacheableOmission constructor. |
| CacheablePreconditionFailedHttpException::__construct | function | core/ |
|
| CacheablePreconditionRequiredHttpException::__construct | function | core/ |
|
| CacheableRedirectResponse | class | core/ |
A RedirectResponse that contains and can expose cacheability metadata. |
| CacheableRedirectResponse.php | file | core/ |
|
| CacheableResponse | class | core/ |
A response that contains and can expose cacheability metadata. |
| CacheableResponse.php | file | core/ |
|
| CacheableResponseInterface | interface | core/ |
Defines an interface for responses that can expose cacheability metadata. |
| CacheableResponseInterface.php | file | core/ |
|
| CacheableResponseInterface::addCacheableDependency | function | core/ |
Adds a dependency on an object: merges its cacheability metadata. |
| CacheableResponseInterface::getCacheableMetadata | function | core/ |
Returns the cacheability metadata for this response. |
| CacheableResponseTrait | trait | core/ |
Provides an implementation of CacheableResponseInterface. |
| CacheableResponseTrait.php | file | core/ |
Pagination
- Previous page
- Page 114
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.