Change record status: 
Project: 
Introduced in branch: 
8.0.x
Description: 

It is now easy to output a responsive image from code

A picture tag can now be rendered by using

  $content['hero_image_responsive'] = array(
    '#type' => 'responsive_image',
    '#uri' => 'public://hero-image.png',
    '#attributes' => array(
      'alt' => t('Hero image'),
      'title' => t('Hero image title'),
    ),
    '#responsive_image_style_id' => 'hero',
  );
  
Impacts: 
Site builders, administrators, editors
Module developers
Themers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done