function picture_theme

Implements hook_theme().

File

drupal/core/modules/picture/picture.module, line 157
Picture display formatter for image fields.

Code

function picture_theme() {
  return array(
    'picture' => array(
      'variables' => array(
        'style_name' => NULL,
        'path' => NULL,
        'width' => NULL,
        'height' => NULL,
        'alt' => '',
        'title' => NULL,
        'attributes' => array(),
        'breakpoints' => array(),
      ),
    ),
    'picture_formatter' => array(
      'variables' => array(
        'item' => NULL,
        'path' => NULL,
        'image_style' => NULL,
        'breakpoints' => array(),
      ),
    ),
    'picture_source' => array(
      'variables' => array(
        'src' => NULL,
        'srcset' => NULL,
        'dimension' => NULL,
        'media' => NULL,
      ),
    ),
  );
}