public function AdminUninstallForm::getCancelUrl in Private Message 8.2
Same name and namespace in other branches
- 8 src/Form/AdminUninstallForm.php \Drupal\private_message\Form\AdminUninstallForm::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
- src/
Form/ AdminUninstallForm.php, line 59
Class
- AdminUninstallForm
- Defines the admin uninstall form for the Private Message module.
Namespace
Drupal\private_message\FormCode
public function getCancelUrl() {
return Url::fromRoute('private_message.admin_config');
}