You are here

constant STYLESWITCHER_COOKIE_EXPIRE in Style Switcher 7.2

Same name and namespace in other branches
  1. 8.2 styleswitcher.module \STYLESWITCHER_COOKIE_EXPIRE
  2. 6.2 styleswitcher.module \STYLESWITCHER_COOKIE_EXPIRE
  3. 3.0.x styleswitcher.module \STYLESWITCHER_COOKIE_EXPIRE

Indicates that the cookie must live 365 days more.

2 uses of STYLESWITCHER_COOKIE_EXPIRE
styleswitcher_block_view in ./styleswitcher.module
Implements hook_block_view().
styleswitcher_save_user_preference in ./styleswitcher.module
Saves the style key to the cookie.

File

./styleswitcher.module, line 11
Module's hooks implementations and helper functions.

Code

define('STYLESWITCHER_COOKIE_EXPIRE', 31536000);