protected function BrowserCookieTrait::getIsMain in Bakery Single Sign-On System 8.2
Helper to determine if the current site is the "main" site.
2 calls to BrowserCookieTrait::getIsMain()
- ChocolateChip::toData in src/
Cookies/ ChocolateChip.php - Convert the data into an array to be stored into a cookie.
- OatmealCookie::toData in src/
Cookies/ OatmealCookie.php - Convert the data into an array to be stored into a cookie.
File
- src/
Cookies/ BrowserCookieTrait.php, line 13
Class
Namespace
Drupal\bakery\CookiesCode
protected function getIsMain() : bool {
return static::getBakeryService()
->isMain();
}