You are here

function bakery_user_logout in Bakery Single Sign-On System 8.2

Same name and namespace in other branches
  1. 6.2 bakery.module \bakery_user_logout()
  2. 6 bakery.module \bakery_user_logout()
  3. 7.4 bakery.module \bakery_user_logout()
  4. 7.2 bakery.module \bakery_user_logout()
  5. 7.3 bakery.module \bakery_user_logout()

Implements hook_user_logout().

File

./bakery.module, line 26
For implementing different hooks for bakery SSO functionality.

Code

function bakery_user_logout(AccountInterface $account) {
  \Drupal::service('bakery.user_service')
    ->logout($account);
}