You are here

protected function FlagGlobalCookieStorage::cookie_key in Flag 7.3

Same name and namespace in other branches
  1. 6.2 flag.inc \FlagGlobalCookieStorage::cookie_key()
  2. 7.2 flag.inc \FlagGlobalCookieStorage::cookie_key()
2 calls to FlagGlobalCookieStorage::cookie_key()
FlagGlobalCookieStorage::flag in includes/flag.cookie_storage.inc
"Flags" an item.
FlagGlobalCookieStorage::unflag in includes/flag.cookie_storage.inc
"Unflags" an item.

File

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

Class

FlagGlobalCookieStorage
Storage handler for global flags.

Code

protected function cookie_key($entity_id) {
  return 'flag_global_' . $this->flag->name . '_' . $entity_id;
}