function simplelogin_theme_registry_alter in SimpleLogin 7
Same name and namespace in other branches
- 8.6 simplelogin.module \simplelogin_theme_registry_alter()
Implements hook_theme_registry_alter().
File
- ./
simplelogin.module, line 44 - The Login screens, which controls the customized background image.
Code
function simplelogin_theme_registry_alter(&$theme_registry) {
$module_path = drupal_get_path('module', 'simplelogin');
$theme_registry['page__simplelogin'] = array(
'template' => $module_path . '/templates/page--simplelogin',
'type' => 'theme_engine',
'theme path' => $module_path . '/templates',
'render element' => 'page',
);
}