function drop_down_login_theme in Drop Down Login 8
Same name and namespace in other branches
- 7 drop_down_login.module \drop_down_login_theme()
Implements hook_theme().
File
- ./
drop_down_login.module, line 36 - Module file for Drop Down Login.
Code
function drop_down_login_theme($existing, $type, $theme, $path) {
return [
'drop_down_login' => [
'variables' => [
'login_form' => NULL,
'login_url' => NULL,
'login_link_text' => NULL,
],
],
'drop_down_logout' => [
'variables' => [
'logout_url' => NULL,
'logout_link_text' => NULL,
],
],
'drop_down_myaccount' => [
'variables' => [
'myaccount_links' => NULL,
'myaccount_url' => NULL,
'myaccount_link_text' => NULL,
'name' => NULL,
'logout_url' => NULL,
'logout_link_text' => NULL,
],
],
];
}