You are here

function sheetnode_theme in Sheetnode 6

Same name and namespace in other branches
  1. 5 sheetnode.module \sheetnode_theme()
  2. 7.2 sheetnode.module \sheetnode_theme()
  3. 7 sheetnode.module \sheetnode_theme()

Implementation of hook_theme().

File

./sheetnode.module, line 560

Code

function sheetnode_theme($existing, $type, $theme, $path) {
  $hooks = array(
    'sheetnode_range' => array(
      'arguments' => array(
        'range' => NULL,
        'labels' => NULL,
      ),
    ),
    'sheetfield_spreadsheet' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'sheetnode_formatter_default' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
  );
  if (module_exists('date')) {
    $hooks['sheetnode_formatter_socialcalc_date'] = array(
      'arguments' => array(
        'element' => NULL,
      ),
    );
  }
  return $hooks;
}