You are here

function color_field_theme in Color Field 7.2

Same name and namespace in other branches
  1. 8.2 color_field.module \color_field_theme()
  2. 7 color_field.module \color_field_theme()

Implements hook_theme().

File

./color_field.module, line 62

Code

function color_field_theme($existing, $type, $theme, $path) {
  return array(
    'color_swatch' => array(
      'variables' => array(
        'color' => '',
        'width' => 50,
        'height' => 50,
      ),
      'file' => 'color_field.theme.inc',
    ),
    'color_field_plain_text' => array(
      'render element' => 'element',
      'file' => 'color_field.theme.inc',
    ),
    'color_field_default_widget' => array(
      'render element' => 'element',
      'file' => 'color_field.theme.inc',
    ),
    'color_field_simple_widget' => array(
      'render element' => 'element',
      'file' => 'color_field.theme.inc',
    ),
    'color_field_spectrum_widget' => array(
      'render element' => 'element',
      'file' => 'color_field.theme.inc',
    ),
  );
}