|
@@ -8,7 +8,7 @@ namespace Drupal\images_styles_gen;
|
|
class CreateImagesStyles {
|
|
class CreateImagesStyles {
|
|
|
|
|
|
public static function createStyles($item, &$context){
|
|
public static function createStyles($item, &$context){
|
|
- if (!$context['sandbox']['progress']) {
|
|
|
|
|
|
+ if (!array_key_exists('progress', $context['sandbox'])) {
|
|
$context['sandbox']['progress'] = 0;
|
|
$context['sandbox']['progress'] = 0;
|
|
}
|
|
}
|
|
$context['sandbox']['progress']++;
|
|
$context['sandbox']['progress']++;
|