public function JobItemAbortForm::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/ JobItemAbortForm.php, line 31
Class
- JobItemAbortForm
- Provides a form for deleting a node.
Namespace
Drupal\tmgmt\FormCode
public function getCancelUrl() {
return $this->entity
->toUrl();
}