SilverStripe\Assets\Shortcodes\ImageShortcodeProvider::updateLoadingValue
Updated the loading attribute which is used to either lazy-load or eager-load images Eager-load is the default browser behaviour so when eager loading is specified, the loading attribute is omitted
Signature
private function updateLoadingValue(array
$args,
int
$width,
int
$height )
Parameters
$args
— array$width
— int
$height
— int
Returns
- array