You are here

public function FlagServiceInterface::userFlagRemoval in Flag 8.4

Shared helper for user account cancellation or deletion.

Removes: All flags by the user. All flaggings of the user.

Parameters

\Drupal\user\UserInterface $account: The account of the user being cancelled or deleted.

1 method overrides FlagServiceInterface::userFlagRemoval()
FlagService::userFlagRemoval in src/FlagService.php
Shared helper for user account cancellation or deletion.

File

src/FlagServiceInterface.php, line 297

Class

FlagServiceInterface
Flag service interface.

Namespace

Drupal\flag

Code

public function userFlagRemoval(UserInterface $account);