public function BackgroundImageManager::getRetinaRules in Background Image 8
Same name and namespace in other branches
- 2.x src/BackgroundImageManager.php \Drupal\background_image\BackgroundImageManager::getRetinaRules()
- 2.0.x src/BackgroundImageManager.php \Drupal\background_image\BackgroundImageManager::getRetinaRules()
Retrieves the retina rules to use, if any.
Return value
array An array of individual media query rules.
Overrides BackgroundImageManagerInterface::getRetinaRules
File
- src/
BackgroundImageManager.php, line 618
Class
Namespace
Drupal\background_imageCode
public function getRetinaRules() {
return $this->config
->get('css.retina_rules') ?: [];
}