function views_tree_theme in Views tree 8.2
Same name and namespace in other branches
- 6.2 views_tree.module \views_tree_theme()
- 6 views_tree.module \views_tree_theme()
- 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' => [],
],
],
];
}