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
MetadataBubblingUrlGenerator::getRouteDebugMessage function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Gets either the route name or a string based on the route object.
MetadataBubblingUrlGenerator::setContext function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
MetadataBubblingUrlGenerator::supports function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Checks if route name is a string or route object.
MetadataBubblingUrlGenerator::__construct function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Constructs a new bubbling URL generator service.
MetadataBubblingUrlGeneratorTest class core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php Confirm that the MetadataBubblingUrlGenerator is functioning properly.
MetadataBubblingUrlGeneratorTest.php file core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php
MetadataBubblingUrlGeneratorTest::$renderer property core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php The renderer.
MetadataBubblingUrlGeneratorTest::providerUrlBubbleableMetadataBubbling function core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php Data provider for ::testUrlBubbleableMetadataBubbling().
MetadataBubblingUrlGeneratorTest::setUp function core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php
MetadataBubblingUrlGeneratorTest::testUrlBubbleableMetadataBubbling function core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php Tests bubbling of cacheable metadata for URLs.
ModuleHandlerTest::testModuleMetaData function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests whether the correct module metadata is returned.
ModuleHandlerTest::testThemeMetaData function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests whether the correct theme metadata is returned.
NodeAccessGrantsCacheContext::getCacheableMetadata function core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
NoOptimizeCacheContext::getCacheableMetadata function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Gets the cacheability metadata for the context.
OEmbed::getMetadata function core/modules/media/src/Plugin/media/Source/OEmbed.php Gets the value for a metadata attribute for a given media item.
OEmbed::getMetadataAttributes function core/modules/media/src/Plugin/media/Source/OEmbed.php Gets a list of metadata attributes provided by this plugin.
OEmbedSourceTest::testGetMetadata function core/modules/media/tests/src/Kernel/OEmbedSourceTest.php @covers ::getMetadata[[api-linebreak]]
OperationData::convertScaffoldMetadata function composer/Plugin/Scaffold/Operations/OperationData.php Performs the conversion-to-array step in normalizeScaffoldMetadata.
OperationData::normalizeScaffoldMetadata function composer/Plugin/Scaffold/Operations/OperationData.php Normalizes metadata by converting literal values into arrays.
PagersCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
PathCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/PathCacheContext.php Gets the cacheability metadata for the context.
PathParentCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php Gets the cacheability metadata for the context.
PermissionsHashGenerator::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Gets the cacheability metadata for the generated hash.
PermissionsHashGeneratorInterface::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Gets the cacheability metadata for the generated hash.
PhpStreamWrapperInterface::stream_metadata function core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php Sets metadata on the stream.
PirateDayCacheabilityMetadataConfigOverride class core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php Test implementation of a config override that provides cacheability metadata.
PirateDayCacheabilityMetadataConfigOverride.php file core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php
PirateDayCacheabilityMetadataConfigOverride::createConfigObject function core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php Creates a configuration object for use during install and synchronization.
PirateDayCacheabilityMetadataConfigOverride::getCacheableMetadata function core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php Gets the cacheability metadata associated with the config factory override.
PirateDayCacheabilityMetadataConfigOverride::getCacheSuffix function core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php The string to append to the configuration static cache name.
PirateDayCacheabilityMetadataConfigOverride::loadOverrides function core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php Returns config overrides.
PirateDayCacheContext::getCacheableMetadata function core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php Gets the cacheability metadata for the context.
PoMetadataInterface interface core/lib/Drupal/Component/Gettext/PoMetadataInterface.php Methods required for both reader and writer implementations.
PoMetadataInterface.php file core/lib/Drupal/Component/Gettext/PoMetadataInterface.php
PoMetadataInterface::getHeader function core/lib/Drupal/Component/Gettext/PoMetadataInterface.php Get header metadata.
PoMetadataInterface::getLangcode function core/lib/Drupal/Component/Gettext/PoMetadataInterface.php Get language code.
PoMetadataInterface::setHeader function core/lib/Drupal/Component/Gettext/PoMetadataInterface.php Set header metadata.
PoMetadataInterface::setLangcode function core/lib/Drupal/Component/Gettext/PoMetadataInterface.php Set language code.
PrivateTempStore::getMetadata function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Returns the metadata associated with a particular key/value pair.
PrivateTempStoreTest::testGetMetadata function core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php Tests the getMetadata() method.
ProtocolVersionCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/ProtocolVersionCacheContext.php Gets the cacheability metadata for the context.
QueryArgsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
QueryBase::$alterMetaData property core/lib/Drupal/Core/Entity/Query/QueryBase.php The query metadata for alter purposes.
QueryBase::addMetaData function core/lib/Drupal/Core/Entity/Query/QueryBase.php Adds additional metadata to the query.
QueryBase::getMetaData function core/lib/Drupal/Core/Entity/Query/QueryBase.php Retrieves a given piece of metadata.
ReadOnlyStream::stream_metadata function core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php Does not change meta data as this is a read-only stream wrapper.
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.

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