You are here

function oa_sitemap_theme in Open Atrium Sitemap 7.2

Implements hook_theme().

File

./oa_sitemap.module, line 49

Code

function oa_sitemap_theme() {
  $path = drupal_get_path('module', 'oa_sitemap') . '/templates';
  return array(
    'oa_sitemap_header' => array(
      'template' => 'oa-sitemap-header',
      'variables' => array(
        'link' => NULL,
        'search' => NULL,
      ),
      'path' => $path,
    ),
    'oa_sitemap_app' => array(
      'template' => 'oa-sitemap-app',
      'variables' => array(
        'sitemap_search' => NULL,
      ),
      'path' => $path,
    ),
  );
}