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
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.
JsonApiRegressionTest::testLeakCacheMetadataInOmitted function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure EntityAccessDeniedHttpException cacheability is taken into account.
JsonApiTopLevelResourceNormalizerTest::testCacheableMetadata function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php Ensure that cacheability metadata is properly added.
JsonApiTopLevelResourceNormalizerTest::testCacheableMetadataProvider function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php Provides test cases for asserting cacheable metadata behavior.
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 cacheability metadata for the context based on the parameter value.
LayoutBuilderIsActiveCacheContext::getCacheableMetadata function core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php Gets 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[[api-linebreak]]
@covers ::getCacheTags[[api-linebreak]]
@covers ::getCacheMaxAge[[api-linebreak]]
LocalTaskManagerTest::setupNullCacheabilityMetadataValidation function core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
LocalTaskManagerTest::testGetTasksBuildWithCacheabilityMetadata function core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php @covers ::getTasksBuild[[api-linebreak]]
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.
MediaSource::$thumbnail_alt_metadata_attribute property core/modules/media/src/Annotation/MediaSource.php 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 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.
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 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::CSRF_TOKEN_SEED constant core/lib/Drupal/Core/Session/MetadataBag.php The key used to store the CSRF token seed in the session.
MetadataBag::getCsrfTokenSeed function core/lib/Drupal/Core/Session/MetadataBag.php Get the CSRF token seed.
MetadataBag::setCsrfTokenSeed function core/lib/Drupal/Core/Session/MetadataBag.php Set the CSRF token seed.
MetadataBag::stampNew function core/lib/Drupal/Core/Session/MetadataBag.php
MetadataBag::__construct function core/lib/Drupal/Core/Session/MetadataBag.php Constructs a new metadata bag instance.
MetadataBagTest class core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php @coversDefaultClass \Drupal\Core\Session\MetadataBag[[api-linebreak]]
@group Session
MetadataBagTest.php file core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php
MetadataBagTest::testStampNew function core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php @covers ::stampNew[[api-linebreak]]

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