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
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.
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::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 phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
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
@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
MetadataBubblingUrlGenerator class core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Decorator for the URL generator, which bubbles bubbleable URL metadata.
MetadataBubblingUrlGenerator.php file core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
MetadataBubblingUrlGenerator::$renderer property core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php The renderer.
MetadataBubblingUrlGenerator::$urlGenerator property core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php The non-bubbling URL generator.
MetadataBubblingUrlGenerator::bubble function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Bubbles the bubbleable metadata to the current render context.
MetadataBubblingUrlGenerator::generate function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
MetadataBubblingUrlGenerator::generateFromRoute function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
MetadataBubblingUrlGenerator::getContext function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
MetadataBubblingUrlGenerator::getPathFromRoute function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
MetadataBubblingUrlGenerator::getRouteDebugMessage function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Gets either the route name or a string based on the route object.
MetadataBubblingUrlGenerator::setContext function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
MetadataBubblingUrlGenerator::supports function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Checks if route name is a string or route object.
MetadataBubblingUrlGenerator::__construct function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Constructs a new bubbling URL generator service.
MetadataBubblingUrlGeneratorTest class core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php Confirm that the MetadataBubblingUrlGenerator is functioning properly.
MetadataBubblingUrlGeneratorTest.php file core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php
MetadataBubblingUrlGeneratorTest::$renderer property core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php The renderer.
MetadataBubblingUrlGeneratorTest::providerUrlBubbleableMetadataBubbling function core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php Data provider for ::testUrlBubbleableMetadataBubbling().
MetadataBubblingUrlGeneratorTest::setUp function core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php
MetadataBubblingUrlGeneratorTest::testUrlBubbleableMetadataBubbling function core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php Tests bubbling of cacheable metadata for URLs.
ModuleHandlerTest::testModuleMetaData function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests whether the correct module metadata is returned.
ModuleHandlerTest::testThemeMetaData function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests whether the correct theme metadata is returned.
NodeAccessGrantsCacheContext::getCacheableMetadata function core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
NoOptimizeCacheContext::getCacheableMetadata function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Gets the cacheability metadata for the context.
OEmbed::getMetadata function core/modules/media/src/Plugin/media/Source/OEmbed.php Gets the value for a metadata attribute for a given media item.
OEmbed::getMetadataAttributes function core/modules/media/src/Plugin/media/Source/OEmbed.php Gets a list of metadata attributes provided by this plugin.

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