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
CacheableMetadataTest::testSetCacheMaxAge function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Tests valid and invalid values as max age.
CacheableResponseInterface::getCacheableMetadata function core/lib/Drupal/Core/Cache/CacheableResponseInterface.php Returns the cacheability metadata for this response.
CacheableResponseTrait::$cacheabilityMetadata property core/lib/Drupal/Core/Cache/CacheableResponseTrait.php The cacheability metadata.
CacheableResponseTrait::getCacheableMetadata function core/lib/Drupal/Core/Cache/CacheableResponseTrait.php
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.
ComponentGenerator::initialPackageMetadata function composer/Generator/ComponentGenerator.php Common default metadata for all components.
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/settings_tray/tests/modules/settings_tray_override_test/src/ConfigOverrider.php Gets the cacheability metadata associated with the config factory override.
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.
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.
ContentTranslationMetadataFieldsTest.php file core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php
ContentTranslationMetadataFieldsTest::$bundle property core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php The bundle being tested.
ContentTranslationMetadataFieldsTest::$entityTypeId property core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php The entity type being tested.
ContentTranslationMetadataFieldsTest::$modules property core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php Modules to install.
ContentTranslationMetadataFieldsTest::$profile property core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php The profile to install as a basis for testing.
ContentTranslationMetadataFieldsTest::testSetTranslatable function core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php Tests setting translatable metadata fields.
ContentTranslationMetadataFieldsTest::testSkipUntranslatable function core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php Tests skipping setting non translatable metadata fields.
ContentTranslationMetadataWrapper class core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Base class for content translation metadata wrappers.
ContentTranslationMetadataWrapper.php file core/modules/content_translation/src/ContentTranslationMetadataWrapper.php
ContentTranslationMetadataWrapper::$handler property core/modules/content_translation/src/ContentTranslationMetadataWrapper.php The content translation handler.
ContentTranslationMetadataWrapper::$translation property core/modules/content_translation/src/ContentTranslationMetadataWrapper.php The wrapped entity translation.
ContentTranslationMetadataWrapper::getAuthor function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the translation author.
ContentTranslationMetadataWrapper::getChangedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the timestamp of the last entity change from current translation.
ContentTranslationMetadataWrapper::getCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the translation creation timestamp.
ContentTranslationMetadataWrapper::getSource function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Retrieves the source language for this translation.
ContentTranslationMetadataWrapper::isOutdated function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the translation outdated status.
ContentTranslationMetadataWrapper::isPublished function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the translation published status.
ContentTranslationMetadataWrapper::setAuthor function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Sets the translation author.
ContentTranslationMetadataWrapper::setChangedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Sets the translation modification timestamp.
ContentTranslationMetadataWrapper::setCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Sets the translation creation timestamp.

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