You are here

function picture_theme in Picture 8

Same name and namespace in other branches
  1. 7.2 picture.module \picture_theme()
  2. 7 picture.module \picture_theme()

Implements hook_theme().

File

./picture.module, line 24
Hook implementations for the picture module.

Code

function picture_theme() {
  return array(
    // Theme functions in picture.field.inc.
    'image_sizes_formatter' => array(
      'variables' => array(
        'item' => NULL,
        'item_attributes' => NULL,
        'path' => NULL,
        'image_styles' => array(),
        'fallback_image_style' => NULL,
        'sizes' => NULL,
      ),
      'file' => 'picture.field.inc',
      'template' => 'image-sizes-formatter',
    ),
  );
}