public static function Blazy::urlAndDimensions in Blazy 7
Same name and namespace in other branches
- 8.2 src/Blazy.php \Drupal\blazy\Blazy::urlAndDimensions()
1 call to Blazy::urlAndDimensions()
- BlazyManager::prepareImage in src/
BlazyManager.php - Prepares the Blazy image as a structured array ready for ::renderer().
File
- src/
Blazy.php, line 44
Class
- Blazy
- Implements BlazyInterface.
Namespace
Drupal\blazyCode
public static function urlAndDimensions(array &$settings, $item = NULL) {
// VEF without image style, or image style with crop, may already set these.
self::imageDimensions($settings, $item);
self::imageUrl($settings, $item);
}