function flag_user_predelete in Flag 8.4
Implements hook_user_predelete().
File
- ./
flag.module, line 540 - The Flag module.
Code
function flag_user_predelete(UserInterface $account) {
\Drupal::service('flag')
->userFlagRemoval($account);
}
Implements hook_user_predelete().
function flag_user_predelete(UserInterface $account) {
\Drupal::service('flag')
->userFlagRemoval($account);
}