You are here

function file_styles_theme in Styles 7

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

Implement hook_theme().

File

contrib/file_styles/file_styles.module, line 198
File widget formatter definitions.

Code

function file_styles_theme() {
  return array(
    // Theme functions in file_styles.module.
    'file_style' => array(
      'variables' => array(
        'style_name' => NULL,
        'path' => NULL,
        'alt' => '',
        'title' => '',
        'attributes' => array(),
        'getsize' => TRUE,
      ),
      'file' => 'file_styles.theme.inc',
    ),
    // Theme functions in file_styles.admin.inc.
    'file_styles_list' => array(
      'variables' => array(
        'styles' => NULL,
      ),
      'file' => 'file_styles.theme.inc',
    ),
    // Display a image style preset.
    'file_styles_image_style_preview' => array(
      'variables' => array(
        'field_type' => NULL,
        'container_name' => NULL,
        'style_name' => NULL,
      ),
      'file' => 'file_styles.theme.inc',
    ),
    'file_styles_field_formatter_styles' => array(
      'variables' => array(
        'element' => NULL,
        'style' => NULL,
      ),
      'file' => 'file_styles.theme.inc',
    ),
    'file_styles_image' => array(
      'variables' => array(
        'style_name' => NULL,
        'uri' => NULL,
      ),
      'file' => 'file_styles.theme.inc',
    ),
    'file_styles_field_formatter_styles_default' => array(
      'variables' => array(
        'element' => NULL,
        'style' => NULL,
      ),
      'file' => 'file_styles.theme.inc',
    ),
    'file_styles_styles_default' => array(
      'variables' => array(
        'style_name' => NULL,
        'uri' => NULL,
      ),
      'file' => 'file_styles.theme.inc',
    ),
    'file_styles_preview_default' => array(
      'variables' => array(
        'field_type' => NULL,
        'container_name' => NULL,
        'style_name' => NULL,
      ),
      'file' => 'file_styles.theme.inc',
    ),
    'file_styles_video' => array(
      'variables' => array(
        'style_name' => NULL,
        'uri' => NULL,
      ),
      'file' => 'file_styles.theme.inc',
    ),
  );
}