Search for all
Title | Object type | File name | Summary |
---|---|---|---|
CacheableExceptionTest.php | file | core/ |
|
CacheableExceptionTest::providerTestExceptions | function | core/ |
|
CacheableExceptionTest::testCacheableHttpException | function | core/ |
@covers \Drupal\Core\Http\Exception\CacheableHttpException[[api-linebreak]] |
CacheableExceptionTest::testExceptions | function | core/ |
@dataProvider providerTestExceptions |
CacheableGoneHttpException | class | core/ |
A cacheable GoneHttpException. |
CacheableGoneHttpException.php | file | core/ |
|
CacheableGoneHttpException::__construct | function | core/ |
|
CacheableHttpException | class | core/ |
A cacheable HttpException. |
CacheableHttpException.php | file | core/ |
|
CacheableHttpException::__construct | function | core/ |
|
CacheableJsonResponse | class | core/ |
A JsonResponse that contains and can expose cacheability metadata. |
CacheableJsonResponse.php | file | core/ |
|
CacheableLengthRequiredHttpException | class | core/ |
A cacheable LengthRequiredHttpException. |
CacheableLengthRequiredHttpException.php | file | core/ |
|
CacheableLengthRequiredHttpException::__construct | function | core/ |
|
CacheableMetadata | class | core/ |
Defines a generic class for passing cacheability metadata. |
CacheableMetadata.php | file | core/ |
|
CacheableMetadata::applyTo | function | core/ |
Applies the values of this CacheableMetadata object to a render array. |
CacheableMetadata::createFromObject | function | core/ |
Creates a CacheableMetadata object from a depended object. |
CacheableMetadata::createFromRenderArray | function | core/ |
Creates a CacheableMetadata object with values taken from a render array. |
CacheableMetadata::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
CacheableMetadata::getCacheMaxAge | function | core/ |
The maximum age for which this object may be cached. |
CacheableMetadata::getCacheTags | function | core/ |
The cache tags associated with this object. |
CacheableMetadata::merge | function | core/ |
Merges the values of another CacheableMetadata object with this one. |
CacheableMetadata::setCacheContexts | function | core/ |
Sets cache contexts. |
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/ |
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 |
Pagination
- Previous page
- Page 144
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.