You are here

public function BackgroundImageManager::useMinifiedCssUri in Background Image 2.0.x

Same name and namespace in other branches
  1. 8 src/BackgroundImageManager.php \Drupal\background_image\BackgroundImageManager::useMinifiedCssUri()
  2. 2.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

BackgroundImageManager

Namespace

Drupal\background_image

Code

public function useMinifiedCssUri() {
  return \Drupal::config('system.performance')
    ->get('css.preprocess') && $this
    ->getCssMinifier();
}