function account_sync_target_path in Account Sync 6
Same name and namespace in other branches
- 7.2 account_sync_sso/account_sync_sso.module \account_sync_target_path()
Generate a drupal path based on the given arguments.
2 calls to account_sync_target_path()
- account_sync_sso_goto in account_sync_sso/
account_sync_sso.module - Redirect the user to the server they wish to login at.
- account_sync_sso_login in account_sync_sso/
account_sync_sso.module - Login the specified user.
File
- account_sync_sso/
account_sync_sso.module, line 122 - Handle single signon functionality for the account sync module
Code
function account_sync_target_path($args, $count = 1) {
while ($count-- > 0) {
array_shift($args);
}
$target_path = implode('/', $args);
return $target_path;
}