You are here

function nodehierarchy_theme in Node Hierarchy 6

Same name and namespace in other branches
  1. 6.3 nodehierarchy.module \nodehierarchy_theme()
  2. 6.2 nodehierarchy.module \nodehierarchy_theme()
  3. 7.4 nodehierarchy.module \nodehierarchy_theme()
  4. 7.2 nodehierarchy.module \nodehierarchy_theme()

File

./nodehierarchy_theme.inc, line 3
Nodehierarchy theming functions

Code

function nodehierarchy_theme() {
  return array(
    'nodehierarchy_node_list' => array(
      'arguments' => array(
        'nodes' => NULL,
        'expandable' => FALSE,
      ),
    ),
    'nodehierarchy_new_child_links' => array(
      'arguments' => array(
        'node' => NULL,
      ),
    ),
    'nodehierarchy_actions' => array(
      'arguments' => array(
        'node' => NULL,
      ),
    ),
    'nodehierarchy_action' => array(
      'arguments' => array(
        'url' => '',
        'name' => '',
        'active' => TRUE,
      ),
    ),
    'node_hierarchy_item_list' => array(
      'arguments' => array(
        'items' => array(),
        'attributes' => NULL,
      ),
    ),
    'nodehierarchy_children_list' => array(
      'arguments' => array(
        'node' => NULL,
        'children' => array(),
        'show_create_links' => TRUE,
      ),
    ),
    'nodehierarchy_children_list_more_link' => array(
      'arguments' => array(
        'node' => NULL,
        'num_displayed' => 20,
        'total' => 0,
      ),
    ),
  );
}