You are here

public function ConfirmItemReleaseForm::getCancelUrl in Queue UI 8.2

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/ConfirmItemReleaseForm.php, line 72

Class

ConfirmItemReleaseForm
Class ConfirmItemReleaseForm @package Drupal\queue_ui\Form

Namespace

Drupal\queue_ui\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('queue_ui.inspect', [
    'queue_name' => $this->queue_name,
  ]);
}