You are here

public function ConfigDeleteConfirm::getCancelUrl in Demonstration site (Sandbox / Snapshot) 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

src/Form/ConfigDeleteConfirm.php, line 62

Class

ConfigDeleteConfirm
confirms the deletion of config deletion

Namespace

Drupal\demo\Form

Code

public function getCancelUrl() {
  return new Url('demo.manage_config');
}