protected function SeedCalculator::getSeedFromSession in Views random seed 8
Get the seed from session.
Return value
int|false
1 call to SeedCalculator::getSeedFromSession()
- SeedCalculator::getSeed in src/
SeedCalculator.php - Get the seed either from session or store.
File
- src/
SeedCalculator.php, line 188
Class
- SeedCalculator
- Calculates seeds.
Namespace
Drupal\views_random_seedCode
protected function getSeedFromSession($seed_name) {
return $_SESSION[$seed_name] ?? FALSE;
}