You are here

protected function FlagNonGlobalCookieStorage::is_flagged in Flag 7.3

Same name and namespace in other branches
  1. 6.2 flag.inc \FlagNonGlobalCookieStorage::is_flagged()
  2. 7.2 flag.inc \FlagNonGlobalCookieStorage::is_flagged()
1 call to FlagNonGlobalCookieStorage::is_flagged()
FlagNonGlobalCookieStorage::flag in includes/flag.cookie_storage.inc
"Flags" an item.

File

includes/flag.cookie_storage.inc, line 153
Contains the FlagCookieStorage class.

Class

FlagNonGlobalCookieStorage
Storage handler for non-global flags.

Code

protected function is_flagged($entity_id) {
  return $this
    ->index_of($entity_id) !== FALSE;
}