You are here

public function AdminUninstallForm::getCancelUrl in Private Message 8

Same name and namespace in other branches
  1. 8.2 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 31

Class

AdminUninstallForm
Definest he admin uninstall form for the Private Message module.

Namespace

Drupal\private_message\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('private_message.admin_config');
}