You are here

public function PrepareUninstallForm::getCancelUrl in Commerce Stock 8

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/local_storage/src/Form/PrepareUninstallForm.php, line 79

Class

PrepareUninstallForm
The always in stock field uninstall form.

Namespace

Drupal\commerce_stock_local\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('system.modules_uninstall');
}