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
ExecutionContext::getMetadataFactory function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
FieldRenderedEntityTest::assertCacheabilityMetadata function core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php Ensures that the expected cacheability metadata is applied.
field_test_query_efq_metadata_test_alter function core/modules/field/tests/modules/field_test/field_test.module Implements hook_query_TAG_alter() for tag 'efq_metadata_test'.
File::getMetadata function core/modules/media/src/Plugin/media/Source/File.php Gets the value for a metadata attribute for a given media item.
File::getMetadataAttributes function core/modules/media/src/Plugin/media/Source/File.php Gets a list of metadata attributes provided by this plugin.
File::METADATA_ATTRIBUTE_MIME constant core/modules/media/src/Plugin/media/Source/File.php Key for "MIME type" metadata attribute.
File::METADATA_ATTRIBUTE_NAME constant core/modules/media/src/Plugin/media/Source/File.php Key for "Name" metadata attribute.
File::METADATA_ATTRIBUTE_SIZE constant core/modules/media/src/Plugin/media/Source/File.php Key for "File size" metadata attribute.
FooCacheContext::getCacheableMetadata function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Gets the cacheability metadata for the context.
HeadersCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/HeadersCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
HelpTopicSection::$cacheableMetadata property core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php The merged top level help topic plugins cache metadata.
HelpTopicSection::getCacheMetadata function core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php Gets the merged CacheableMetadata for all the top level help topic plugins.
http_kernel.controller.argument_metadata_factory service core/core.services.yml Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactory
Image::getMetadata function core/modules/media/src/Plugin/media/Source/Image.php Gets the value for a metadata attribute for a given media item.
Image::getMetadataAttributes function core/modules/media/src/Plugin/media/Source/Image.php Gets a list of metadata attributes provided by this plugin.
Image::METADATA_ATTRIBUTE_HEIGHT constant core/modules/media/src/Plugin/media/Source/Image.php Key for "image height" metadata attribute.
Image::METADATA_ATTRIBUTE_WIDTH constant core/modules/media/src/Plugin/media/Source/Image.php Key for "image width" metadata attribute.
InPlaceEditorBase::getMetadata function core/modules/quickedit/src/Plugin/InPlaceEditorBase.php Generates metadata that is needed specifically for this editor.
InPlaceEditorInterface::getMetadata function core/modules/quickedit/src/Plugin/InPlaceEditorInterface.php Generates metadata that is needed specifically for this editor.
IpCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/IpCacheContext.php Gets the cacheability metadata for the context.
IsFrontPathCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php Gets the cacheability metadata for the context.
IsSuperUserCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php Gets the cacheability metadata for the context.
JsonApiDocumentTopLevelNormalizerTest::testCacheableMetadata function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php Ensure that cacheability metadata is properly added.
JsonApiDocumentTopLevelNormalizerTest::testCacheableMetadataProvider function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php Provides test cases for asserting cacheable metadata behavior.
JsonApiRegressionTest::testLeakCacheMetadataInOmitted function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure EntityAccessDeniedHttpException cacheability is taken into account.
JsonApiRegressionTest::testLeakedCacheMetadataViaRdfFromIssue3053827 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure that child comments can be retrieved via JSON:API.
LanguageConfigFactoryOverride::getCacheableMetadata function core/modules/language/src/Config/LanguageConfigFactoryOverride.php Gets the cacheability metadata associated with the config factory override.
LanguagesCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
LayoutBuilderIsActiveCacheContext::getCacheableMetadata function core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
LinkGeneratorTest::testGenerateBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the LinkGenerator's support for collecting bubbleable metadata.
LocalReadOnlyStream::stream_metadata function core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php Does not change meta data as this is a read-only stream wrapper.
LocalStream::stream_metadata function core/lib/Drupal/Core/StreamWrapper/LocalStream.php Sets metadata on the stream.
LocalTaskDefaultTest::testCacheabilityMetadata function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php @covers ::getCacheContexts
@covers ::getCacheTags
@covers ::getCacheMaxAge
LocalTaskManagerTest::setupNullCacheabilityMetadataValidation function core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
LocalTaskManagerTest::testGetTasksBuildWithCacheabilityMetadata function core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php @covers ::getTasksBuild
MediaSource::$default_name_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php The metadata attribute name to provide the default name.
MediaSource::$thumbnail_alt_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php (optional) The metadata attribute name to provide the thumbnail alt.
MediaSource::$thumbnail_title_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php (optional) The metadata attribute name to provide the thumbnail title.
MediaSource::$thumbnail_uri_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php The metadata attribute name to provide the thumbnail URI.
MediaSourceBase::getMetadata function core/modules/media/src/MediaSourceBase.php Gets the value for a metadata attribute for a given media item.
MediaSourceInterface::getMetadata function core/modules/media/src/MediaSourceInterface.php Gets the value for a metadata attribute for a given media item.
MediaSourceInterface::getMetadataAttributes function core/modules/media/src/MediaSourceInterface.php Gets a list of metadata attributes provided by this plugin.
MediaSourceInterface::METADATA_FIELD_EMPTY constant core/modules/media/src/MediaSourceInterface.php Default empty value for metadata fields.
MediaSourceTest::testMetadataMapping function core/modules/media/tests/src/Kernel/MediaSourceTest.php Tests metadata mapping functionality.
MenuActiveTrailsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
MenuLinkBase::getMetaData function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns any metadata for this link.
MenuLinkInterface::getMetaData function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns any metadata for this link.
MetadataBag class core/lib/Drupal/Core/Session/MetadataBag.php Provides a container for application specific session metadata.
MetadataBag.php file core/lib/Drupal/Core/Session/MetadataBag.php
MetadataBag::clearCsrfTokenSeed function core/lib/Drupal/Core/Session/MetadataBag.php Clear the CSRF token seed.

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