Search for metadata

  1. Search 7.x for metadata
  2. Search 8.9.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
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/rdf/tests/src/Functional/Jsonapi/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
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 enable.
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.
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_height_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php The metadata attribute name to provide the thumbnail height.
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.
MediaSource::$thumbnail_width_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php The metadata attribute name to provide the thumbnail width.
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.

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