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
CacheContextInterface::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/CacheContextInterface.php Gets the cacheability metadata for the context.
CachePluginBase::alterCacheMetadata function core/modules/views/src/Plugin/views/cache/CachePluginBase.php Alters the cache metadata of a display upon saving a view.
CacheWebTest::testDisplayWithoutCacheStillBubblesMetadata function core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php Tests that a display without caching still contains the cache metadata.
CalculatedCacheContextInterface::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/CalculatedCacheContextInterface.php Gets the cacheability metadata for the context based on the parameter value.
CKEditor5MediaController::mediaEntityMetadata function core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php Returns JSON response containing metadata about media entity.
Component::$metadata property core/lib/Drupal/Core/Plugin/Component.php The component's metadata.
ComponentGenerator::initialPackageMetadata function composer/Generator/ComponentGenerator.php Common default metadata for all components.
ComponentMetadata class core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Component metadata.
ComponentMetadata.php file core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php
ComponentMetadata::$description property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The component description.
ComponentMetadata::$documentation property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The component documentation.
ComponentMetadata::$group property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The component group.
ComponentMetadata::$machineName property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The machine name for the component.
ComponentMetadata::$mandatorySchemas property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php TRUE if the schemas for props and slots are mandatory.
ComponentMetadata::$name property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The component's name.
ComponentMetadata::$path property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The absolute path to the component directory.
ComponentMetadata::$schema property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Schema for the component props.
ComponentMetadata::$slots property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Slot information.
ComponentMetadata::$status property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The status of the component.
ComponentMetadata::$thumbnailPath property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The PNG path for the component thumbnail.
ComponentMetadata::getThumbnailPath function core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Gets the thumbnail path.
ComponentMetadata::normalize function core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Normalizes the value object.
ComponentMetadata::parseSchemaInfo function core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Parse the schema information.
ComponentMetadata::__construct function core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php ComponentMetadata constructor.
ComponentMetadataTest class core/tests/Drupal/Tests/Core/Theme/Component/ComponentMetadataTest.php Unit tests for the component metadata class.
ComponentMetadataTest.php file core/tests/Drupal/Tests/Core/Theme/Component/ComponentMetadataTest.php
ComponentMetadataTest::dataProviderMetadata function core/tests/Drupal/Tests/Core/Theme/Component/ComponentMetadataTest.php Data provider for the test testMetadataEnforceSchema.
ComponentMetadataTest::testMetadata function core/tests/Drupal/Tests/Core/Theme/Component/ComponentMetadataTest.php Tests that the correct data is returned for each property.
ComponentMetadataTest::testMetadataEnforceSchema function core/tests/Drupal/Tests/Core/Theme/Component/ComponentMetadataTest.php Tests the correct checks when enforcing schemas or not.
ComponentPluginManagerTest::testFindEmptyMetadataFile function core/tests/Drupal/Tests/Core/Theme/Component/ComponentPluginManagerTest.php Test that components render correctly.
ConfigFactoryOverrideInterface::getCacheableMetadata function core/lib/Drupal/Core/Config/ConfigFactoryOverrideInterface.php Gets the cacheability metadata associated with the config factory override.
ConfigOverride::getCacheableMetadata function core/lib/Drupal/Core/Installer/ConfigOverride.php Gets the cacheability metadata associated with the config factory override.
ConfigOverrideIntegrationTestCacheContext::getCacheableMetadata function core/modules/config/tests/config_override_integration_test/src/Cache/ConfigOverrideIntegrationTestCacheContext.php Gets the cacheability metadata for the context.
ConfigOverrider::getCacheableMetadata function core/modules/config/tests/config_entity_static_cache_test/src/ConfigOverrider.php Gets the cacheability metadata associated with the config factory override.
ConfigOverrider::getCacheableMetadata function core/modules/config/tests/config_override_test/src/ConfigOverrider.php Gets the cacheability metadata associated with the config factory override.
ConfigOverrider::getCacheableMetadata function core/modules/settings_tray/tests/modules/settings_tray_override_test/src/ConfigOverrider.php Gets the cacheability metadata associated with the config factory override.
ConfigOverriderLowPriority::getCacheableMetadata function core/modules/config/tests/config_override_test/src/ConfigOverriderLowPriority.php Gets the cacheability metadata associated with the config factory override.
config_override_test.pirate_day_cacheability_metadata_override service core/modules/config/tests/config_override_test/config_override_test.services.yml Drupal\config_override_test\PirateDayCacheabilityMetadataConfigOverride
ContentEntityType::$revision_metadata_keys property core/lib/Drupal/Core/Entity/ContentEntityType.php An array of entity revision metadata keys.
ContentEntityType::getRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityType.php Gets a specific entity revision metadata key.
ContentEntityType::getRevisionMetadataKeys function core/lib/Drupal/Core/Entity/ContentEntityType.php Gets an array of entity revision metadata keys.
ContentEntityType::hasRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityType.php Indicates if a given entity revision metadata key exists.
ContentEntityType::setRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityType.php Sets a revision metadata key.
ContentEntityTypeInterface::getRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Gets a specific entity revision metadata key.
ContentEntityTypeInterface::getRevisionMetadataKeys function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Gets an array of entity revision metadata keys.
ContentEntityTypeInterface::hasRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Indicates if a given entity revision metadata key exists.
ContentEntityTypeInterface::setRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Sets a revision metadata key.
ContentTranslationManager::getTranslationMetadata function core/modules/content_translation/src/ContentTranslationManager.php Returns an instance of the Content translation metadata.
ContentTranslationManagerInterface::getTranslationMetadata function core/modules/content_translation/src/ContentTranslationManagerInterface.php Returns an instance of the Content translation metadata.
ContentTranslationMetadataFieldsTest class core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php Tests the Content Translation metadata fields handling.

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