Same name and namespace in other branches
  1. 3.0.x color_field.module \color_field_theme() 1 comment
  2. 7.x-1.x color_field.module \color_field_theme() 1 comment
  3. 8.x-2.x color_field.module \color_field_theme() 1 comment

Implements hook_theme().

File

./color_field.module, line 66

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',
        ),
    );
}