You are here

public function MeetingResultDeleteForm::getCancelUrl in Opigno Moxtra 3.x

Same name and namespace in other branches
  1. 8 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(),
  ]);
}