public function AuthUnlinkForm::getCancelUrl in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getCancelUrl()
- 8.2 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getCancelUrl()
- 8.3 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getCancelUrl()
- 8.4 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getCancelUrl()
- 8.5 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getCancelUrl()
- 8.6 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getCancelUrl()
- 8.7 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getCancelUrl()
- 8.8 modules/custom/social_auth_extra/src/Form/AuthUnlinkForm.php \Drupal\social_auth_extra\Form\AuthUnlinkForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- modules/
custom/ social_auth_extra/ src/ Form/ AuthUnlinkForm.php, line 59
Class
- AuthUnlinkForm
- Class AuthUnlinkForm.
Namespace
Drupal\social_auth_extra\FormCode
public function getCancelUrl() {
return Url::fromRoute('entity.user.edit_form', [
'user' => $this
->currentUser()
->id(),
]);
}