You are here

function homebox_get_token in Homebox 7.3

Same name and namespace in other branches
  1. 6.3 homebox.module \homebox_get_token()
  2. 6.2 homebox.module \homebox_get_token()
  3. 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 1532
Homebox main file, takes care of global functions settings constants, etc.

Code

function homebox_get_token($page) {
  return drupal_get_token('homebox-' . $page->name);
}