You are here

function bakery_user_presave in Bakery Single Sign-On System 8.2

Same name and namespace in other branches
  1. 7.2 bakery.module \bakery_user_presave()

Implements hook_ENTITY_TYPE_presave() for user entities.

File

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

Code

function bakery_user_presave(UserInterface $account) {
  \Drupal::service('bakery.user_service')
    ->presave($account);
}