You are here

public function MeetingResultDeleteForm::getCancelUrl in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/Form/MeetingResultDeleteForm.php \Drupal\opigno_moxtra\Form\MeetingResultDeleteForm::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/MeetingResultDeleteForm.php, line 33

Class

MeetingResultDeleteForm
Provides a form for deleting a opigno_moxtra_meeting_result entity.

Namespace

Drupal\opigno_moxtra\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('entity.opigno_moxtra_meeting_result.canonical', [
    'opigno_moxtra_meeting_result' => $this->entity
      ->id(),
  ]);
}