function homebox_get_token in Homebox 6.3
Same name and namespace in other branches
- 6.2 homebox.module \homebox_get_token()
- 7.3 homebox.module \homebox_get_token()
- 7.2 homebox.module \homebox_get_token()
Return a token to be used in conjuntion with homebox_edit_access().
1 call to homebox_get_token()
- homebox_add_link in ./
homebox.module - Construct a link to add a block to a user dashboard.
File
- ./
homebox.module, line 1453 - Homebox main file, takes care of global functions settings constants, etc.
Code
function homebox_get_token($page) {
return drupal_get_token('homebox-' . $page->name);
}