public function BackgroundImageManager::useMinifiedCssUri in Background Image 8
Same name and namespace in other branches
- 2.x 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();
}