You are here

public function DeleteMultiple::getCancelUrl in Log entity 8

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to DeleteMultiple::getCancelUrl()
DeleteMultiple::submitForm in src/Form/DeleteMultiple.php
Form submission handler.

File

src/Form/DeleteMultiple.php, line 117
Contains \Drupal\log\Form\DeleteMultiple.

Class

DeleteMultiple
Provides a log deletion confirmation form.

Namespace

Drupal\log\Form

Code

public function getCancelUrl() {

  // Return the URL of the front page.
  return Url::fromRoute('<front>');
}