You are here

function spaces_user_make_prefix in Spaces 5.2

Helper function to make usernames more suitable for path prefixing.

1 call to spaces_user_make_prefix()
spaces_user_context_prefix_prefixes in ./spaces_user.module
Implementation of hook_context_prefix_prefixes().

File

./spaces_user.module, line 302

Code

function spaces_user_make_prefix($username) {
  return check_url(strtolower($username));
}