public function CronOverride::getCacheableMetadata in Automatic Updates 8
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/
EventSubscriber/ CronOverride.php, line 51
Class
- CronOverride
- This class overrides the default system warning and error limits for cron.
Namespace
Drupal\automatic_updates\EventSubscriberCode
public function getCacheableMetadata($name) {
return new CacheableMetadata();
}