function session_limit_hook_info in Session Limit 6.2
Same name and namespace in other branches
- 6 session_limit.module \session_limit_hook_info()
Implementation of hook_hook_info().
File
- ./
session_limit.module, line 449 - Limits multiple sessions per user.
Code
function session_limit_hook_info() {
return array(
'session_limit' => array(
'session_limit' => array(
'collision' => array(
'runs when' => t('User logs in and has too many active sessions'),
),
'disconnect' => array(
'runs when' => t('When an active user is logged out by a newer session'),
),
),
),
);
}