Search for metadata

  1. Search 7.x for metadata
  2. Search 9.5.x for metadata
  3. Search 10.3.x for metadata
  4. Search 11.x for metadata
  5. Other projects
Title Object type File name Summary
RecursiveContextualValidator::$metadataFactory property core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php The metadata factory.
RecursiveValidator::getMetadataFor function core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php
RecursiveValidator::hasMetadataFor function core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php
RenderCacheIntegrationTest::testViewAddCacheMetadata function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Ensures that saving a view calculates the cache contexts.
Renderer::mergeBubbleableMetadata function core/lib/Drupal/Core/Render/Renderer.php Merges the bubbleable rendering metadata o/t 2nd render array with the 1st.
RendererInterface::mergeBubbleableMetadata function core/lib/Drupal/Core/Render/RendererInterface.php Merges the bubbleable rendering metadata o/t 2nd render array with the 1st.
RequestFormatCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/RequestFormatCacheContext.php
RevisionLogEntityTrait::getRevisionMetadataKey function core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php Gets the name of a revision metadata field.
RouteCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php Gets the cacheability metadata for the context.
Select::addMetaData function core/lib/Drupal/Core/Database/Query/Select.php Adds additional metadata to the query.
Select::getMetaData function core/lib/Drupal/Core/Database/Query/Select.php Retrieves a given piece of metadata.
SelectExtender::addMetaData function core/lib/Drupal/Core/Database/Query/SelectExtender.php Adds additional metadata to the query.
SelectExtender::getMetaData function core/lib/Drupal/Core/Database/Query/SelectExtender.php Retrieves a given piece of metadata.
SessionExistsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Gets the cacheability metadata for the context.
session_manager.metadata_bag service core/core.services.yml Drupal\Core\Session\MetadataBag
SharedTempStore::getMetadata function core/lib/Drupal/Core/TempStore/SharedTempStore.php Returns the metadata associated with a particular key/value pair.
SharedTempStoreTest::testGetMetadata function core/modules/user/tests/src/Unit/SharedTempStoreTest.php Tests the getMetadata() method.
SharedTempStoreTest::testGetMetadata function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the getMetadata() method.
SharedTempStoreTest::testGetMetadataOwner function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php @covers ::getMetadata
@expectedDeprecation Using the "owner" public property of a TempStore lock is deprecated in Drupal 8.7.0 and will not be allowed in Drupal 9.0.0. Use \Drupal\Core\TempStore\Lock::getOwnerId() instead. See…
SharedTempStoreTest::testGetMetadataUpdated function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php @covers ::getMetadata
@expectedDeprecation Using the "updated" public property of a TempStore lock is deprecated in Drupal 8.7.0 and will not be allowed in Drupal 9.0.0. Use \Drupal\Core\TempStore\Lock::getUpdated() instead. See…
SiteCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/SiteCacheContext.php Gets the cacheability metadata for the context.
SqlQueryTest::testExecuteMetadata function core/modules/views/tests/src/Kernel/Plugin/SqlQueryTest.php Tests adding some metadata/tags to the views query.
TaggingTest::testMetaData function core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php Tests that we can attach metadata to a query object.
template_preprocess_rdf_metadata function core/modules/rdf/rdf.module Prepares variables for RDF metadata templates.
Test::getMetadata function core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Gets the value for a metadata attribute for a given media item.
Test::getMetadataAttributes function core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Gets a list of metadata attributes provided by this plugin.
TestController::tokenReplaceWithoutPassedBubbleableMetadata function core/modules/system/tests/modules/token_test/src/Controller/TestController.php Provides a token replacement with a node as well as the current user.
TestDiscoveryCacheContext::getCacheableMetadata function core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php Gets the cacheability metadata for the context.
TestRevisionMetadataBcLayerEntityType class core/modules/system/tests/src/Functional/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php Test entity type class for adding new required revision metadata keys.
TestRevisionMetadataBcLayerEntityType::__construct function core/modules/system/tests/src/Functional/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php Constructs a new EntityType.
TestTranslation::getMetadata function core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/TestTranslation.php Gets the value for a metadata attribute for a given media item.
ThemeCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/ThemeCacheContext.php Gets the cacheability metadata for the context.
ThemeRenderAndAutoescapeTest::testBubblingMetadata function core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php Ensure cache metadata is bubbled when using theme_render_and_autoescape().
ThemeRenderAndAutoescapeTest::testBubblingMetadataWithRenderable function core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php Ensure cache metadata is bubbled when using theme_render_and_autoescape().
TimeZoneCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php Gets the cacheability metadata for the context.
TokenTest::testReplaceWithBubbleableMetadataObject function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace
TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace
@covers ::replace
TokenTest::testReplaceWithHookTokensWithBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace
TrackerTest::assertHistoryMetadata function core/modules/tracker/tests/src/Functional/TrackerTest.php Passes if the appropriate history metadata exists.
TrackerTest::testTrackerHistoryMetadata function core/modules/tracker/tests/src/Functional/TrackerTest.php Tests the metadata for the "new"/"updated" indicators.
TwigEnvironment::CACHE_PREFIX_METADATA_KEY constant core/lib/Drupal/Core/Template/TwigEnvironment.php Key name of the Twig cache prefix metadata key-value pair in State.
TwigExtension::bubbleArgMetadata function core/lib/Drupal/Core/Template/TwigExtension.php Bubbles Twig template argument's cacheability & attachment metadata.
TypedDataMetadata class core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php Validator metadata for typed data objects.
TypedDataMetadata.php file core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php
TypedDataMetadata::$typedData property core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php The typed data object the metadata is about.
TypedDataMetadata::findConstraints function core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php
TypedDataMetadata::getCascadingStrategy function core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php
TypedDataMetadata::getConstraints function core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php
TypedDataMetadata::getTraversalStrategy function core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php
TypedDataMetadata::__construct function core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php Constructs the object.

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