You are here

function session_limit_variable_info in Session Limit 7.2

Implements hook_variable_info().

File

./session_limit.module, line 760
Limits multiple sessions per user.

Code

function session_limit_variable_info($options) {
  $variables['session_limit_logged_out_message'] = array(
    'title' => t('Logged out message', array(), $options),
    'description' => t('The message that is displayed to a user if the workstation has been logged out.<br />
      @number is replaced with the maximum number of simultaneous sessions.', array(), $options),
    'type' => 'string',
    'localize' => TRUE,
    'group' => 'session_limit',
  );
  return $variables;
}