You are here

public function ApiDocReimportSpecForm::getCancelUrl in Apigee API Catalog 8.2

Same name and namespace in other branches
  1. 8 src/Entity/Form/ApiDocReimportSpecForm.php \Drupal\apigee_api_catalog\Entity\Form\ApiDocReimportSpecForm::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/Entity/Form/ApiDocReimportSpecForm.php, line 122

Class

ApiDocReimportSpecForm
Class ApiDocReimportSpecForm.

Namespace

Drupal\apigee_api_catalog\Entity\Form

Code

public function getCancelUrl() {
  return new Url('view.api_catalog_admin.page_1');
}