You are here

public function MaestroTraceDeleteProcess::getCancelUrl in Maestro 3.x

Same name and namespace in other branches
  1. 8.2 src/Form/MaestroTraceDeleteProcess.php \Drupal\maestro\Form\MaestroTraceDeleteProcess::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/Form/MaestroTraceDeleteProcess.php, line 53

Class

MaestroTraceDeleteProcess
The confirm form for deleting a process.

Namespace

Drupal\maestro\Form

Code

public function getCancelUrl() {
  return new Url('maestro.trace', [
    'processID' => $this->processID,
  ]);
}