Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
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 @covers ::addCacheableDependency[[api-linebreak]]
@dataProvider providerTestMerge
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 @covers ::createFromObject[[api-linebreak]]
@dataProvider providerTestCreateFromObject
CacheableMetadataTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::createFromRenderArray[[api-linebreak]]
@dataProvider providerTestCreateFromRenderArray
CacheableMetadataTest::testMerge function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::merge[[api-linebreak]]
@dataProvider providerTestMerge
CacheableMetadataTest::testSetCacheMaxAge function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Tests valid and invalid values as max age.
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.
CacheableNormalizerInterface interface core/modules/serialization/src/Normalizer/CacheableNormalizerInterface.php Defines the interface for normalizers producing cacheable normalizations.
CacheableNormalizerInterface.php file core/modules/serialization/src/Normalizer/CacheableNormalizerInterface.php
CacheableNormalizerInterface::SERIALIZATION_CONTEXT_CACHEABILITY constant core/modules/serialization/src/Normalizer/CacheableNormalizerInterface.php Name of key for bubbling cacheability metadata via serialization context.
CacheableNotAcceptableHttpException class core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php A cacheable NotAcceptableHttpException.
CacheableNotAcceptableHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php
CacheableNotAcceptableHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php
CacheableNotFoundHttpException class core/lib/Drupal/Core/Http/Exception/CacheableNotFoundHttpException.php A cacheable NotFoundHttpException.
CacheableNotFoundHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheableNotFoundHttpException.php
CacheableNotFoundHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheableNotFoundHttpException.php
CacheableOmission class core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php Represents the cacheability associated with the omission of a value.
CacheableOmission.php file core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php
CacheableOmission::getNormalization function core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php A CacheableOmission should never have its normalization retrieved.
CacheableOmission::permanent function core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php Creates a CacheableNormalization instance without any special cacheability.
CacheableOmission::__construct function core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php CacheableOmission constructor.
CacheablePreconditionFailedHttpException class core/lib/Drupal/Core/Http/Exception/CacheablePreconditionFailedHttpException.php A cacheable PreconditionFailedHttpException.
CacheablePreconditionFailedHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheablePreconditionFailedHttpException.php
CacheablePreconditionFailedHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheablePreconditionFailedHttpException.php
CacheablePreconditionRequiredHttpException class core/lib/Drupal/Core/Http/Exception/CacheablePreconditionRequiredHttpException.php A cacheable PreconditionRequiredHttpException.
CacheablePreconditionRequiredHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheablePreconditionRequiredHttpException.php
CacheablePreconditionRequiredHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheablePreconditionRequiredHttpException.php
CacheableRedirectResponse class core/lib/Drupal/Core/Cache/CacheableRedirectResponse.php A RedirectResponse that contains and can expose cacheability metadata.
CacheableRedirectResponse.php file core/lib/Drupal/Core/Cache/CacheableRedirectResponse.php
CacheableResourceResponse class core/modules/jsonapi/src/CacheableResourceResponse.php Extends ResourceResponse with cacheability.
CacheableResourceResponse.php file core/modules/jsonapi/src/CacheableResourceResponse.php
CacheableResponse class core/lib/Drupal/Core/Cache/CacheableResponse.php A response that contains and can expose cacheability metadata.
CacheableResponse.php file core/lib/Drupal/Core/Cache/CacheableResponse.php

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