You are here

function realname_user_delete in Real Name 8

Same name and namespace in other branches
  1. 7 realname.module \realname_user_delete()
  2. 2.x 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());
}