You are here

function dimension_theme in Dimension 7

Same name and namespace in other branches
  1. 2.1.x dimension.module \dimension_theme()
  2. 2.0.x dimension.module \dimension_theme()

Implements hook_theme().

File

./dimension.module, line 300

Code

function dimension_theme($existing, $type, $theme, $path) {
  return array(
    'dimension_theme_table' => array(
      'variables' => array(
        'mode' => DIMENSION_MODE_LENGTH,
        'item' => array(),
        'settings' => array(),
      ),
    ),
    'dimension_theme_simple' => array(
      'variables' => array(
        'mode' => DIMENSION_MODE_LENGTH,
        'item' => array(),
        'settings' => array(),
      ),
    ),
    'dimension_theme_value' => array(
      'variables' => array(
        'value' => array(),
        'settings' => array(),
        'label' => TRUE,
      ),
    ),
  );
}