14 calls to CacheableMetadata::createFromObject() in Zircon Profile 8
- BlockRepository::getVisibleBlocksPerRegion in core/
modules/ block/ src/ BlockRepository.php - Returns an array of regions and their block entities.
- BubbleableMetadata::createFromObject in core/
lib/ Drupal/ Core/ Render/ BubbleableMetadata.php - Creates a bubbleable metadata object from a depended object.
- CacheableMetadataTest::testCreateFromObject in core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheableMetadataTest.php - @covers ::createFromObject @dataProvider providerTestCreateFromObject
- 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.
- DisplayPluginBase::calculateCacheMetadata in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Calculates the display's cache metadata by inspecting each handler/plugin.
- EntityReferenceFormatterBase::getEntitiesToView in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ EntityReferenceFormatterBase.php - Returns the referenced entities for display.
- 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.
- Renderer::addCacheableDependency in core/
lib/ Drupal/ Core/ Render/ Renderer.php - Adds a dependency on an object: merges its cacheability metadata.
- SystemController::overview in core/
modules/ system/ src/ Controller/ SystemController.php - Provide the administration overview page.