You are here

public function JobResubmitForm::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/JobResubmitForm.php, line 27

Class

JobResubmitForm
Provides a form for deleting a node.

Namespace

Drupal\tmgmt\Form

Code

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