You are here

function views_tree_theme in Views tree 8.2

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

Implements hook_theme().

File

./views_tree.module, line 11
Views tree module.

Code

function views_tree_theme($existing, $type, $theme, $path) {
  return [
    'views_tree' => [
      'variables' => [
        'view' => NULL,
        'options' => [],
        'list_type' => 'ul',
        'rows' => [],
        'title' => NULL,
        'items' => [],
      ],
    ],
    'views_tree_table' => [
      'variables' => [
        'view' => NULL,
        'options' => [],
        'list_type' => 'ul',
        'rows' => [],
        'title' => NULL,
        'items' => [],
      ],
    ],
  ];
}