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 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
CacheableDependencyTrait::getCacheContexts function core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php
CacheableDependencyTrait::getCacheMaxAge function core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php
CacheableDependencyTrait::getCacheTags function core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php
CacheableDependencyTrait::setCacheability function core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php Sets cacheability; useful for value object constructors.
CacheableEmbeddedDataSource class core/modules/migrate/tests/modules/migrate_cache_counts_test/src/Plugin/migrate/source/CacheableEmbeddedDataSource.php A copy of embedded_data which allows caching the count.
CacheableEmbeddedDataSource.php file core/modules/migrate/tests/modules/migrate_cache_counts_test/src/Plugin/migrate/source/CacheableEmbeddedDataSource.php
CacheableEmbeddedDataSource::count function core/modules/migrate/tests/modules/migrate_cache_counts_test/src/Plugin/migrate/source/CacheableEmbeddedDataSource.php Gets the source count.
CacheableEmbeddedDataSource::doCount function core/modules/migrate/tests/modules/migrate_cache_counts_test/src/Plugin/migrate/source/CacheableEmbeddedDataSource.php Gets the source count.
CacheableExceptionTest class core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php Tests Cacheable Exception.
CacheableExceptionTest.php file core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php
CacheableExceptionTest::providerTestExceptions function core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php
CacheableExceptionTest::testCacheableHttpException function core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php Tests cacheable http exception.
CacheableExceptionTest::testExceptions function core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php Tests exceptions.
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 class core/lib/Drupal/Core/Cache/CacheableMetadata.php Defines a generic class for passing cacheability metadata.
CacheableMetadata.php file core/lib/Drupal/Core/Cache/CacheableMetadata.php
CacheableMetadata::applyTo function core/lib/Drupal/Core/Cache/CacheableMetadata.php Applies the values of this CacheableMetadata object to a render array.
CacheableMetadata::createFromObject function core/lib/Drupal/Core/Cache/CacheableMetadata.php Creates a CacheableMetadata object from a depended object.
CacheableMetadata::createFromRenderArray function core/lib/Drupal/Core/Cache/CacheableMetadata.php Creates a CacheableMetadata object with values taken from a render array.
CacheableMetadata::getCacheContexts function core/lib/Drupal/Core/Cache/CacheableMetadata.php The cache contexts associated with this object.
CacheableMetadata::getCacheMaxAge function core/lib/Drupal/Core/Cache/CacheableMetadata.php The maximum age for which this object may be cached.
CacheableMetadata::getCacheTags function core/lib/Drupal/Core/Cache/CacheableMetadata.php The cache tags associated with this object.
CacheableMetadata::merge function core/lib/Drupal/Core/Cache/CacheableMetadata.php Merges the values of another CacheableMetadata object with this one.
CacheableMetadata::setCacheContexts function core/lib/Drupal/Core/Cache/CacheableMetadata.php Sets cache contexts.
CacheableMetadata::setCacheMaxAge function core/lib/Drupal/Core/Cache/CacheableMetadata.php Sets the maximum age (in seconds).
CacheableMetadata::setCacheTags function core/lib/Drupal/Core/Cache/CacheableMetadata.php Sets cache tags.
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::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::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.

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