constant STYLESWITCHER_COOKIE_EXPIRE in Style Switcher 8.2
Same name and namespace in other branches
- 6.2 styleswitcher.module \STYLESWITCHER_COOKIE_EXPIRE
- 7.2 styleswitcher.module \STYLESWITCHER_COOKIE_EXPIRE
- 3.0.x styleswitcher.module \STYLESWITCHER_COOKIE_EXPIRE
Indicates that the cookie must live 365 days more.
2 uses of STYLESWITCHER_COOKIE_EXPIRE
- DefaultController::saveUserPreference in src/
Controller/ DefaultController.php - Saves the style key to the cookie.
- Styleswitcher::build in src/
Plugin/ Block/ Styleswitcher.php - Builds and returns the renderable array for this block plugin.
File
- ./
styleswitcher.module, line 18 - Module's hooks implementations and helper functions.
Code
const STYLESWITCHER_COOKIE_EXPIRE = 31536000;