Search for on

  1. Search 7.x for on
  2. Search 9.5.x for on
  3. Search 8.9.x for on
  4. Search 10.3.x for on
  5. Other projects
Title Object type File name Summary
CacheableExceptionTest::testCacheableHttpException function core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php @covers \Drupal\Core\Http\Exception\CacheableHttpException[[api-linebreak]]
CacheableExceptionTest::testExceptions function core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php @dataProvider providerTestExceptions
CacheableGoneHttpException class core/lib/Drupal/Core/Http/Exception/CacheableGoneHttpException.php A cacheable GoneHttpException.
CacheableGoneHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheableGoneHttpException.php
CacheableGoneHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheableGoneHttpException.php
CacheableHttpException class core/lib/Drupal/Core/Http/Exception/CacheableHttpException.php A cacheable HttpException.
CacheableHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheableHttpException.php
CacheableHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheableHttpException.php
CacheableJsonResponse class core/lib/Drupal/Core/Cache/CacheableJsonResponse.php A JsonResponse that contains and can expose cacheability metadata.
CacheableJsonResponse.php file core/lib/Drupal/Core/Cache/CacheableJsonResponse.php
CacheableLengthRequiredHttpException class core/lib/Drupal/Core/Http/Exception/CacheableLengthRequiredHttpException.php A cacheable LengthRequiredHttpException.
CacheableLengthRequiredHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheableLengthRequiredHttpException.php
CacheableLengthRequiredHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheableLengthRequiredHttpException.php
CacheableMetadata::getCacheContexts function core/lib/Drupal/Core/Cache/CacheableMetadata.php The cache contexts associated with this object.
CacheableMetadata::setCacheContexts function core/lib/Drupal/Core/Cache/CacheableMetadata.php Sets cache contexts.
CacheableMetadataCalculationTest class core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php Tests plugin that reports when cacheable metadata is being calculated.
CacheableMetadataCalculationTest class core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php Tests that cacheability metadata is only calculated when needed.
CacheableMetadataCalculationTest.php file core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php
CacheableMetadataCalculationTest.php file core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/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.
CacheableMethodNotAllowedHttpException class core/lib/Drupal/Core/Http/Exception/CacheableMethodNotAllowedHttpException.php A cacheable MethodNotAllowedHttpException.
CacheableMethodNotAllowedHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheableMethodNotAllowedHttpException.php
CacheableMethodNotAllowedHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheableMethodNotAllowedHttpException.php
CacheableNormalization class core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php Use to store normalized data and its cacheability.
CacheableNormalization.php file core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php
CacheableNormalization::$normalization property core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php A normalized value.
CacheableNormalization::aggregate function core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php Collects an array of CacheableNormalizations into a single instance.
CacheableNormalization::getNormalization function core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php Gets the decorated normalization.
CacheableNormalization::hasNoNestedInstances function core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php Ensures that no nested values are instances of this class.
CacheableNormalization::omitIfEmpty function core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php Converts the object to a CacheableOmission if the normalization is empty.
CacheableNormalization::permanent function core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php Creates a CacheableNormalization instance without any special cacheability.
CacheableNormalization::withCacheableDependency function core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php Gets a new CacheableNormalization with an additional dependency.
CacheableNormalization::__construct function core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php CacheableNormalization constructor.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.