You are here

function subscriptions_user_update in Subscriptions 2.0.x

Same name in this branch
  1. 2.0.x subscriptions.module \subscriptions_user_update()
  2. 2.0.x subscriptions.module.old.php \subscriptions_user_update()
Same name and namespace in other branches
  1. 7 subscriptions.module \subscriptions_user_update()

Implements hook_ENTITY_TYPE_update().

File

./subscriptions.module, line 22
Module file for the basic Subscriptions framework.

Code

function subscriptions_user_update(UserInterface $user) {
  if ($user
    ->isBlocked() && !$user->original
    ->isBlocked()) {

    // @todo Fill out this stub.
  }
}