You are here

protected function FlagNonGlobalCookieStorage::cookie_key in Flag 7.3

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

File

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

Class

FlagNonGlobalCookieStorage
Storage handler for non-global flags.

Code

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