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
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
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 Generates a URL or path for a specific route based on the given parameters.
MetadataBubblingUrlGenerator::getContext function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
MetadataBubblingUrlGenerator::getPathFromRoute function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Gets the internal path (system path) for a route.
MetadataBubblingUrlGenerator::setContext function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
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.
OEmbedSourceTest::testGetMetadata function core/modules/media/tests/src/Kernel/OEmbedSourceTest.php @covers ::getMetadata
OperationData::convertScaffoldMetadata function composer/Plugin/Scaffold/Operations/OperationData.php Performs the conversion-to-array step in normalizeScaffoldMetadata.
OperationData::normalizeScaffoldMetadata function composer/Plugin/Scaffold/Operations/OperationData.php Normalizes metadata by converting literal values into arrays.
PagersCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php Gets the cacheability metadata for the context based on the parameter value.

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