You are here

public function DeleteForm::getCancelUrl in Optimizely 8.3

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/DeleteForm.php, line 52

Class

DeleteForm
Implements the confirmation form for deleting a project.

Namespace

Drupal\optimizely\Form

Code

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