function favorite_token in Favorites 6
Generate a token for a particular favorite.
1 call to favorite_token()
- favorites_load_favorites in ./
favorites.module - Load the favorites for a particular user.
File
- ./
favorites.module, line 290 - The favorites module allows users to bookmark any path within a site.
Code
function favorite_token($favorite = NULL) {
return drupal_get_token($favorite->timestamp . $favorite->uid . $favorite->path);
}