You are here

function file_styles_theme in Styles 7.2

Same name and namespace in other branches
  1. 7 contrib/file_styles/file_styles.module \file_styles_theme()

Implementation of hook_theme().

File

contrib/file_styles/file_styles.module, line 108
styles/contrib/file_styles/file_styles.module File widget formatter definitions.

Code

function file_styles_theme($existing, $type, $theme, $path) {
  return array(
    'file_styles_image' => array(
      'variables' => array(
        'image_uri' => '',
        'alt' => '',
        'title' => '',
        'attributes' => array(),
        'image_style' => NULL,
        'instance' => NULL,
      ),
      'file' => 'file_styles.theme.inc',
      'path' => $path . '/includes/themes',
    ),
    'file_styles_image_preview' => array(
      'variables' => array(
        'style_name' => NULL,
      ),
      'file' => 'file_styles.theme.inc',
      'path' => $path . '/includes/themes',
    ),
  );
}