Update to Drupal 8.2.2. For more information, see https://www.drupal.org/project/drupal/releases/8.2.2
This commit is contained in:
parent
23ffed3665
commit
507b45a0ed
378 changed files with 11434 additions and 5542 deletions
|
@ -182,7 +182,7 @@ function template_preprocess_responsive_image(&$variables) {
|
|||
|
||||
if (isset($variables['sources']) && count($variables['sources']) === 1 && !isset($variables['sources'][0]['media'])) {
|
||||
// There is only one source tag with an empty media attribute. This means
|
||||
// we can output an image tag with the srcset attribute in stead of a
|
||||
// we can output an image tag with the srcset attribute instead of a
|
||||
// picture tag.
|
||||
$variables['output_image_tag'] = TRUE;
|
||||
foreach ($variables['sources'][0] as $attribute => $value) {
|
||||
|
|
Reference in a new issue