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 10.3.x for metadata
  5. Other projects
Title Object type File name Summary
EntityComputedFieldTest::testFormatterComputedFieldCacheableMetadata function core/modules/system/tests/src/Functional/Entity/EntityComputedFieldTest.php Tests that formatters bubble the cacheable metadata of computed fields.
EntityQueryTest::testConditionOnRevisionMetadataKeys function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests entity queries with condition on the revision metadata keys.
EntityQueryTest::testMetaData function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests adding a tag and metadata to the Entity query object.
EntitySchemaSubscriber::addRevisionMetadataField function core/modules/workspaces/src/EventSubscriber/EntitySchemaSubscriber.php Adds the 'workspace' revision metadata field to an entity type.
EntityTestViewGrantsCacheContext::getCacheableMetadata function core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php Gets the cacheability metadata for the context.
ExecutionContext::$metadata property core/lib/Drupal/Core/Validation/ExecutionContext.php The current validation metadata.
ExecutionContext::getMetadata function core/lib/Drupal/Core/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/src/Plugin/HelpSection/HelpTopicSection.php The merged top level help topic plugins cache metadata.
HelpTopicSection::getCacheMetadata function core/modules/help/src/Plugin/HelpSection/HelpTopicSection.php Gets the merged CacheableMetadata for all the top level help topic plugins.
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.
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.
LanguageConfigFactoryOverride::getCacheableMetadata function core/modules/language/src/Config/LanguageConfigFactoryOverride.php
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
MediaEntityMetadataApiTest class core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php Tests the media entity metadata API.
MediaEntityMetadataApiTest.php file core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php
MediaEntityMetadataApiTest::$adminUser property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php The admin user.
MediaEntityMetadataApiTest::$defaultTheme property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php The theme to install as the default for testing.
MediaEntityMetadataApiTest::$editor property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php The editor instance to use for testing.
MediaEntityMetadataApiTest::$mediaFile property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php The sample file media entity to use for testing.
MediaEntityMetadataApiTest::$mediaImage property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php The sample image media entity to use for testing.
MediaEntityMetadataApiTest::$modules property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php Modules to install.
MediaEntityMetadataApiTest::$uuidService property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php
MediaEntityMetadataApiTest::setUp function core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php
MediaEntityMetadataApiTest::testApi function core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php Tests the media entity metadata API.
MediaEntityMetadataApiTest::testApiTranslation function core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php Tests the media entity metadata API with translations.
MediaSource::$default_name_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php The metadata attribute name to provide the default name.

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