public function MediaSettingsOverride::getCacheableMetadata in Media Download 1.1.x
Same name and namespace in other branches
- 1.2.x src/MediaSettingsOverride.php \Drupal\media_download\MediaSettingsOverride::getCacheableMetadata()
- 1.0.x src/MediaSettingsOverride.php \Drupal\media_download\MediaSettingsOverride::getCacheableMetadata()
Gets the cacheability metadata associated with the config factory override.
Parameters
string $name: The name of the configuration override to get metadata for.
Return value
\Drupal\Core\Cache\CacheableMetadata A cacheable metadata object.
Overrides ConfigFactoryOverrideInterface::getCacheableMetadata
File
- src/
MediaSettingsOverride.php, line 38
Class
- MediaSettingsOverride
- Overrides the Media module's settings to forcibly enable standalone URL.
Namespace
Drupal\media_downloadCode
public function getCacheableMetadata($name) {
return new CacheableMetadata();
}