function bakery_user_update in Bakery Single Sign-On System 8.2
Same name and namespace in other branches
- 7.4 bakery.module \bakery_user_update()
- 7.2 bakery.module \bakery_user_update()
- 7.3 bakery.module \bakery_user_update()
Implements hook_ENTITY_TYPE_update() for user entities.
File
- ./
bakery.module, line 40 - For implementing different hooks for bakery SSO functionality.
Code
function bakery_user_update(UserInterface $account) {
\Drupal::service('bakery.user_service')
->update($account);
}