user_cancel_url
function user_cancel_url
user_cancel_url(UserInterface $account,$options= array())
Generates a URL to confirm an account cancellation request.
Parameters
\Drupal\user\UserInterface $account: The user account object.
array $options: (optional) A keyed array of settings. Supported options are:
- langcode: A language code to be used when generating locale-sensitive URLs. If langcode is NULL the users preferred language is used.
Return value
string A unique URL that may be used to confirm the cancellation of the user account.