You are here

public function JobAbortForm::getCancelUrl in Translation Management Tool 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/JobAbortForm.php, line 30

Class

JobAbortForm
Provides a form for deleting a node.

Namespace

Drupal\tmgmt\Form

Code

public function getCancelUrl() {
  return $this->entity
    ->toUrl();
}