Quantcast
Viewing all articles
Browse latest Browse all 291711

Undefined index: uri and Undefined index: dimensions in picture.module

This issue is to fix failing test - https://drupal.org/node/2009662#comment-7569357. The changes below are out of scope for 'Replace theme() with drupal_render() in picture module'

Undefined index: uri
Undefined index: dimensions

     'picture' => array(
       'variables' => array(
         'style_name' => NULL,
-        'path' => NULL,
+        'uri' => NULL,
         'width' => NULL,
         'height' => NULL,
         'alt' => '',
@@ -163,7 +163,7 @@ function picture_theme() {
       'variables' => array(
         'src' => NULL,
         'srcset' => NULL,
-        'dimension' => NULL,
+        'dimensions' => NULL,
         'media' => NULL,

Viewing all articles
Browse latest Browse all 291711

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>