You are here

public function EndMeetingConfirmForm::getCancelUrl in BigBlueButton 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

modules/bbb_node/src/Form/EndMeetingConfirmForm.php, line 61

Class

EndMeetingConfirmForm
Provides an administration settings form.

Namespace

Drupal\bbb_node\Form

Code

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