function flag_flag::_unflag_anonymous in Flag 7.3
Same name and namespace in other branches
- 6.2 flag.inc \flag_flag::_unflag_anonymous()
- 7.2 flag.inc \flag_flag::_unflag_anonymous()
Remove the cookie for anonymous users to record their unflagging.
@private
1 call to flag_flag::_unflag_anonymous()
- flag_flag::flagging_delete in includes/
flag/ flag_flag.inc - Unflag an entity by deleting a Flagging.
File
- includes/
flag/ flag_flag.inc, line 1147 - Contains the flag_flag class. Flag type classes use an object oriented style inspired by that of Views 2.
Class
- flag_flag
- This abstract class represents a flag, or, in Views 2 terminology, "a handler".
Code
function _unflag_anonymous($entity_id) {
$storage = FlagCookieStorage::factory($this);
$storage
->unflag($entity_id);
}