public function Kitchen::reBakeChocolateChipCookie in Bakery Single Sign-On System 8.2
Re-bake a chocolate chip cookie.
Parameters
\Drupal\Core\Session\AccountInterface $account:
File
- src/
Kitchen.php, line 109
Class
Namespace
Drupal\bakeryCode
public function reBakeChocolateChipCookie(AccountInterface $account) {
try {
$this
->bake(new ChocolateChip($account
->getAccountName(), $account
->getEmail(), $this
->generateInitField($account
->id()), $this->config
->get('bakery_is_master')));
} catch (MissingKeyException $exception) {
// Fail quietly. This could be happening during boot and allowing to
// bubble could make the site unreachable.
}
}