You are here

function views_tree_theme in Views tree 7.2

Same name and namespace in other branches
  1. 8.2 views_tree.module \views_tree_theme()
  2. 6.2 views_tree.module \views_tree_theme()
  3. 6 views_tree.module \views_tree_theme()

Implements hook_theme().

File

./views_tree.module, line 21
Views Tree module.

Code

function views_tree_theme($existing, $type, $theme, $path) {
  return array(
    'views_tree' => array(
      'variables' => array(
        'view' => NULL,
        'options' => array(),
        'rows' => array(),
        'title' => NULL,
      ),
    ),
    'views_tree_inner' => array(
      'variables' => array(
        'view' => NULL,
        'options' => array(),
        'rows' => array(),
        'title' => NULL,
        'result' => array(),
        'parent' => NULL,
      ),
    ),
  );
}