Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2
This commit is contained in:
parent
9eae24d844
commit
28556d630e
1322 changed files with 6699 additions and 2064 deletions
|
|
@ -133,7 +133,7 @@ class ResponsiveImageStyle extends ConfigEntityBase implements ResponsiveImageSt
|
|||
public function getKeyedImageStyleMappings() {
|
||||
if (!$this->keyedImageStyleMappings) {
|
||||
$this->keyedImageStyleMappings = array();
|
||||
foreach($this->image_style_mappings as $mapping) {
|
||||
foreach ($this->image_style_mappings as $mapping) {
|
||||
if (!static::isEmptyImageStyleMapping($mapping)) {
|
||||
$this->keyedImageStyleMappings[$mapping['breakpoint_id']][$mapping['multiplier']] = $mapping;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -246,4 +246,5 @@ class ResponsiveImageFormatter extends ImageFormatterBase implements ContainerFa
|
|||
}
|
||||
return $elements;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -514,4 +514,5 @@ class ResponsiveImageFieldDisplayTest extends ImageFieldTestBase {
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,4 +31,5 @@ class ResponsiveImageTestFormatter extends ResponsiveImageFormatter {
|
|||
}
|
||||
return $elements;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue