public function BackgroundImageManager::getPreloadImageStyle in Background Image 8
Same name and namespace in other branches
- 2.x src/BackgroundImageManager.php \Drupal\background_image\BackgroundImageManager::getPreloadImageStyle()
- 2.0.x src/BackgroundImageManager.php \Drupal\background_image\BackgroundImageManager::getPreloadImageStyle()
Retrieves the preload image style.
Return value
string
Overrides BackgroundImageManagerInterface::getPreloadImageStyle
File
- src/
BackgroundImageManager.php, line 601
Class
Namespace
Drupal\background_imageCode
public function getPreloadImageStyle() {
return $this->config
->get('image_style.preload') ?: 'background_image_preload';
}