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
OEmbedSourceTest::testGetMetadata function core/modules/media/tests/src/Kernel/OEmbedSourceTest.php @covers ::getMetadata
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
PathCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/PathCacheContext.php
PathParentCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php
PermissionsHashGenerator::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php
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
PirateDayCacheabilityMetadataConfigOverride::getCacheableMetadata function core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php
PirateDayCacheabilityMetadataConfigOverride::getCacheSuffix function core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php
PirateDayCacheabilityMetadataConfigOverride::loadOverrides function core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php
PirateDayCacheContext::getCacheableMetadata function core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php
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
QueryArgsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php
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
QueryBase::getMetaData function core/lib/Drupal/Core/Entity/Query/QueryBase.php
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.
Renderer::mergeBubbleableMetadata function core/lib/Drupal/Core/Render/Renderer.php
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
RouteCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php
Select::$alterMetaData property core/lib/Drupal/Core/Database/Query/Select.php The query metadata for alter purposes.
Select::addMetaData function core/lib/Drupal/Core/Database/Query/Select.php
Select::getMetaData function core/lib/Drupal/Core/Database/Query/Select.php
SelectExtender::addMetaData function core/lib/Drupal/Core/Database/Query/SelectExtender.php
SelectExtender::getMetaData function core/lib/Drupal/Core/Database/Query/SelectExtender.php
SessionExistsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php
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/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the getMetadata() method.
SiteCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/SiteCacheContext.php
SqlQueryTest::testExecuteMetadata function core/modules/views/tests/src/Kernel/Plugin/SqlQueryTest.php Tests adding some metadata/tags to the views query.
Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactoryInterface service core/core.services.yml

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