You are here

function spaces_user_make_purl in Spaces 6

Same name and namespace in other branches
  1. 6.2 spaces_user/spaces_user.module \spaces_user_make_purl()

Helper function to make usernames more suitable for path prefixing.

1 call to spaces_user_make_purl()
spaces_user_purl_modifiers in spaces_user/spaces_user.module
Implementation of hook_purl_modifiers().

File

spaces_user/spaces_user.module, line 300

Code

function spaces_user_make_purl($username) {
  return check_url(str_replace(' ', '-', strtolower($username)));
}