function spaces_user_make_purl in Spaces 6.2
Same name and namespace in other branches
- 6 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 319
Code
function spaces_user_make_purl($username) {
return check_url(str_replace(' ', '-', strtolower($username)));
}