public function ILTResultDeleteForm::getCancelUrl in Opigno Instructor-led Trainings 3.x
Same name and namespace in other branches
- 8 src/Form/ILTResultDeleteForm.php \Drupal\opigno_ilt\Form\ILTResultDeleteForm::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/ ILTResultDeleteForm.php, line 33
Class
- ILTResultDeleteForm
- Provides a form for deleting a opigno_ilt_result entity.
Namespace
Drupal\opigno_ilt\FormCode
public function getCancelUrl() {
return Url::fromRoute('entity.opigno_ilt_result.canonical', [
'opigno_ilt_result' => $this->entity
->id(),
]);
}