function UserLogoutConfirm::getCancelUrl
Same name in other branches
- 11.x core/modules/user/src/Form/UserLogoutConfirm.php \Drupal\user\Form\UserLogoutConfirm::getCancelUrl()
Overrides ConfirmFormInterface::getCancelUrl
File
-
core/
modules/ user/ src/ Form/ UserLogoutConfirm.php, line 35
Class
- UserLogoutConfirm
- Provides a confirmation form for user logout.
Namespace
Drupal\user\FormCode
public function getCancelUrl() : Url {
return new Url('<front>');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.