You are here

function realname_user_delete in Real Name 2.x

Same name and namespace in other branches
  1. 8 realname.module \realname_user_delete()
  2. 7 realname.module \realname_user_delete()

Implements hook_ENTITY_TYPE_delete().

File

./realname.module, line 110
Provides token-based name displays for users.

Code

function realname_user_delete(EntityInterface $account) {
  realname_delete($account
    ->id());
}