BackgroundImageSettingsBlurCacheContext.php in Background Image 8
Same filename and directory in other branches
Namespace
Drupal\background_image\Cache\ContextFile
src/Cache/Context/BackgroundImageSettingsBlurCacheContext.phpView source
<?php
namespace Drupal\background_image\Cache\Context;
/**
* Cache context ID: 'background_image.settings.blur'.
*/
class BackgroundImageSettingsBlurCacheContext extends BackgroundImageBaseCacheContext {
/**
* {@inheritdoc}
*/
public static function getLabel() {
return t('Background Image: Blur Settings');
}
/**
* {@inheritdoc}
*/
public function getContext() {
return $this->backgroundImage ? $this->backgroundImage
->getSettingsHash('blur') : 0;
}
}
Classes
Name | Description |
---|---|
BackgroundImageSettingsBlurCacheContext | Cache context ID: 'background_image.settings.blur'. |