You are here

27 calls to CacheableMetadata::createFromObject() in Drupal 10

BasicAuth::challengeException in core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php
BlockRepository::getVisibleBlocksPerRegion in core/modules/block/src/BlockRepository.php
CacheableMetadataTest::testCreateFromObject in core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
@covers ::createFromObject @dataProvider providerTestCreateFromObject
CacheableNormalization::withCacheableDependency in core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php
Gets a new CacheableNormalization with an additional dependency.
CacheableResponseTrait::addCacheableDependency in core/lib/Drupal/Core/Cache/CacheableResponseTrait.php
ConfigEntityStorage::doLoadMultiple in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
Performs storage-specific loading of entities.
ContentTranslationController::overview in core/modules/content_translation/src/Controller/ContentTranslationController.php
Builds the translations overview page.
Context::addCacheableDependency in core/lib/Drupal/Core/Plugin/Context/Context.php
Adds a dependency on an object: merges its cacheability metadata.
DateTest::testFormattedDateDiff in core/tests/Drupal/Tests/Core/Datetime/DateTest.php
Tests FormattedDateDiff.
DynamicPageCacheSubscriber::responseToRenderArray in core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php
Embeds a Response object in a render array so that RenderCache can cache it.
EntityAccessDeniedHttpException::__construct in core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php
EntityAccessDeniedHttpException constructor.
EntityReferenceFormatterBase::getEntitiesToView in core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php
Returns the referenced entities for display.
ExtraFieldBlock::build in core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php
ImageUrlFormatter::viewElements in core/modules/image/src/Plugin/Field/FieldFormatter/ImageUrlFormatter.php
Builds a renderable array for a field value.
layout_builder_system_breadcrumb_alter in core/modules/layout_builder/layout_builder.module
Implements hook_system_breadcrumb_alter().
MenuForm::buildOverviewTreeForm in core/modules/menu_ui/src/MenuForm.php
Recursive helper function for buildOverviewForm().
MenuLinkTree::buildItems in core/lib/Drupal/Core/Menu/MenuLinkTree.php
Builds the #items property for a menu tree's renderable array.
MenuParentFormSelector::parentSelectOptionsTreeWalk in core/lib/Drupal/Core/Menu/MenuParentFormSelector.php
Iterates over all items in the tree to prepare the parents select options.
OEmbedFormatter::viewElements in core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php
Builds a renderable array for a field value.
Renderer::addCacheableDependency in core/lib/Drupal/Core/Render/Renderer.php
ResourceObjectNormalizationCacher::set in core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php
Writes a normalization to cache.
ResourceTestBase::getExpectedCollectionCacheability in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
Computes the cacheability for a given entity collection.
SystemController::overview in core/modules/system/src/Controller/SystemController.php
Provide the administration overview page.
TestDisplayVariant::build in core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php
Builds and returns the renderable array for the display variant.
TimestampAgoFormatter::formatTimestamp in core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php
Formats a timestamp.
UserListBuilder::buildRow in core/modules/user/src/UserListBuilder.php
Builds a row for an entity in the entity listing.
VersionNegotiator::throwNotFoundHttpException in core/modules/jsonapi/src/Revisions/VersionNegotiator.php
Throws a cacheable error exception.