Browse Source

Add theme hook for homepage

pull/856/head
Don Richards 3 years ago committed by GitHub
parent
commit
69e780598e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      islandora.module

14
islandora.module

@ -536,3 +536,17 @@ function islandora_preprocess_views_view_table(&$variables) {
}
}
}
/**
* Implements hook_theme()
* @return mixed
*/
function islandora_theme() {
// If homepage is not manually set, use the default.
$theme['welcome'] = [
'variables' => ['name' => NULL],
'template' => 'welcome',
];
return $theme;
}

Loading…
Cancel
Save