Search for metadata

  1. Search 7.x for metadata
  2. Search 9.5.x for metadata
  3. Search 8.9.x for metadata
  4. Search 11.x for metadata
  5. Other projects
Title Object type File name Summary
AccountPermissionsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php Gets the cacheability metadata for the context.
ActionsTest::testDropbuttonWithBubbleableMetadata function core/tests/Drupal/KernelTests/Core/Render/Element/ActionsTest.php
AlterableInterface::addMetaData function core/lib/Drupal/Core/Database/Query/AlterableInterface.php Adds additional metadata to the query.
AlterableInterface::getMetaData function core/lib/Drupal/Core/Database/Query/AlterableInterface.php Retrieves a given piece of metadata.
BazCacheContext::getCacheableMetadata function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Gets the cacheability metadata for the context based on the parameter value.
BookNavigationCacheContext::getCacheableMetadata function core/modules/book/src/Cache/BookNavigationCacheContext.php Gets the cacheability metadata for the context.
BubbleableMetadata class core/lib/Drupal/Core/Render/BubbleableMetadata.php Value object used for bubbleable rendering metadata.
BubbleableMetadata.php file core/lib/Drupal/Core/Render/BubbleableMetadata.php
BubbleableMetadata::addCacheableDependency function core/lib/Drupal/Core/Render/BubbleableMetadata.php
BubbleableMetadata::applyTo function core/lib/Drupal/Core/Render/BubbleableMetadata.php Applies the values of this bubbleable metadata object to a render array.
BubbleableMetadata::createFromObject function core/lib/Drupal/Core/Render/BubbleableMetadata.php Creates a bubbleable metadata object from a depended object.
BubbleableMetadata::createFromRenderArray function core/lib/Drupal/Core/Render/BubbleableMetadata.php Creates a bubbleable metadata object with values taken from a render array.
BubbleableMetadata::merge function core/lib/Drupal/Core/Render/BubbleableMetadata.php Creates a new bubbleable metadata object by merging this one with another.
BubbleableMetadata::mergeAttachments function core/lib/Drupal/Core/Render/BubbleableMetadata.php Merges two attachments arrays (which live under the '#attached' key).
BubbleableMetadataTest class core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @coversDefaultClass \Drupal\Core\Render\BubbleableMetadata
@group Render
BubbleableMetadataTest.php file core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
BubbleableMetadataTest::providerTestAddAttachments function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Provides test data for testAddAttachments().
BubbleableMetadataTest::providerTestAddCacheableDependency function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Provides test data for testMerge().
BubbleableMetadataTest::providerTestApplyTo function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Provides test data for testApplyTo().
BubbleableMetadataTest::providerTestCreateFromRenderArray function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Provides test data for createFromRenderArray().
BubbleableMetadataTest::providerTestMerge function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Provides test data for testMerge().
BubbleableMetadataTest::providerTestMergeAttachmentsHtmlHeadLinkMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Data provider for testMergeAttachmentsHtmlHeadLinkMerging.
BubbleableMetadataTest::providerTestMergeAttachmentsHtmlHeadMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Data provider for testMergeAttachmentsHtmlHeadMerging.
BubbleableMetadataTest::providerTestMergeAttachmentsHttpHeaderMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Data provider for testMergeAttachmentsHttpHeaderMerging.
BubbleableMetadataTest::testAddAttachments function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @covers ::addAttachments
@covers ::setAttachments
@dataProvider providerTestAddAttachments
BubbleableMetadataTest::testAddCacheableDependency function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @covers ::addCacheableDependency
@dataProvider providerTestMerge
BubbleableMetadataTest::testApplyTo function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @covers ::applyTo
@dataProvider providerTestApplyTo
BubbleableMetadataTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @covers ::createFromRenderArray
@dataProvider providerTestCreateFromRenderArray
BubbleableMetadataTest::testMerge function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @covers ::merge
@dataProvider providerTestMerge
BubbleableMetadataTest::testMergeAttachmentsHtmlHeadLinkMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Tests html_head_link asset merging.
BubbleableMetadataTest::testMergeAttachmentsHtmlHeadMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Tests html_head asset merging.
BubbleableMetadataTest::testMergeAttachmentsHttpHeaderMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Tests http_header asset merging.
BubbleableMetadataTest::testMergeAttachmentsLibraryMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Tests library asset merging.
CacheabilityMetadataConfigOverride class core/modules/config/tests/config_override_integration_test/src/CacheabilityMetadataConfigOverride.php Test implementation of a config override that provides cacheability metadata.
CacheabilityMetadataConfigOverride.php file core/modules/config/tests/config_override_integration_test/src/CacheabilityMetadataConfigOverride.php
CacheabilityMetadataConfigOverride::createConfigObject function core/modules/config/tests/config_override_integration_test/src/CacheabilityMetadataConfigOverride.php
CacheabilityMetadataConfigOverride::getCacheableMetadata function core/modules/config/tests/config_override_integration_test/src/CacheabilityMetadataConfigOverride.php
CacheabilityMetadataConfigOverride::getCacheSuffix function core/modules/config/tests/config_override_integration_test/src/CacheabilityMetadataConfigOverride.php
CacheabilityMetadataConfigOverride::loadOverrides function core/modules/config/tests/config_override_integration_test/src/CacheabilityMetadataConfigOverride.php
CacheabilityMetadataConfigOverrideIntegrationTest class core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php Tests if configuration overrides correctly affect cacheability metadata.
CacheabilityMetadataConfigOverrideIntegrationTest.php file core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php
CacheabilityMetadataConfigOverrideIntegrationTest::$defaultTheme property core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php The theme to install as the default for testing.
CacheabilityMetadataConfigOverrideIntegrationTest::$modules property core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php Modules to enable.
CacheabilityMetadataConfigOverrideIntegrationTest::setUp function core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php
CacheabilityMetadataConfigOverrideIntegrationTest::testConfigOverride function core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php Tests if config overrides correctly set cacheability metadata.
CacheabilityMetadataConfigOverrideTest class core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php Tests if configuration overrides correctly affect cacheability metadata.
CacheabilityMetadataConfigOverrideTest.php file core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php
CacheabilityMetadataConfigOverrideTest::$modules property core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php Modules to enable.
CacheabilityMetadataConfigOverrideTest::setUp function core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php
CacheabilityMetadataConfigOverrideTest::testConfigEntityOverride function core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php Tests if config overrides set cacheability metadata on config entities.

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