You are here

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

Same name and namespace in other branches
  1. 8 src/Form/MeetingDeleteForm.php \Drupal\opigno_moxtra\Form\MeetingDeleteForm::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/MeetingDeleteForm.php, line 102

Class

MeetingDeleteForm
Provides a form for deleting a opigno_moxtra_meeting entity.

Namespace

Drupal\opigno_moxtra\Form

Code

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