public function BackgroundImageManager::useMinifiedCssUri in Background Image 2.x
Same name and namespace in other branches
- 8 src/BackgroundImageManager.php \Drupal\background_image\BackgroundImageManager::useMinifiedCssUri()
- 2.0.x src/BackgroundImageManager.php \Drupal\background_image\BackgroundImageManager::useMinifiedCssUri()
Determines whether minified CSS URIs should be used.
Return value
bool TRUE or FALSE
Overrides BackgroundImageManagerInterface::useMinifiedCssUri
File
- src/
BackgroundImageManager.php, line 714
Class
Namespace
Drupal\background_imageCode
public function useMinifiedCssUri() {
return \Drupal::config('system.performance')
->get('css.preprocess') && $this
->getCssMinifier();
}