You are here

public function DeleteForm::getCancelUrl in Optimizely 8.0

Same name and namespace in other branches
  1. 8 src/DeleteForm.php \Drupal\optimizely\DeleteForm::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/DeleteForm.php, line 39
Contains \Drupal\optimizely\DeleteForm

Class

DeleteForm
Implements the confirmation form for deleting a project.

Namespace

Drupal\optimizely

Code

public function getCancelUrl() {
  return new Url('optimizely.listing');
}