You are here

function views_merge_rows_theme in Views Merge Rows 8

Same name and namespace in other branches
  1. 8.2 views_merge_rows.module \views_merge_rows_theme()
  2. 7 views_merge_rows.module \views_merge_rows_theme()

Implements hook_theme().

File

./views_merge_rows.module, line 14
Registers View API information

Code

function views_merge_rows_theme($existing, $type, $theme, $path) {
  $base = [
    'render element' => 'form',
    'path' => drupal_get_path('module', 'views_merge_rows') . '/templates',
  ];
  return [
    'merge_rows_theme' => $base + [
      'template' => 'merge-rows-theme',
    ],
  ];
}