You are here

public function MaillogClearConfirmForm::getCancelUrl in Maillog / Mail Developer 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

src/Form/MaillogClearConfirmForm.php, line 39

Class

MaillogClearConfirmForm
Provides a form for clearing all the maillog entries.

Namespace

Drupal\maillog\Form

Code

public function getCancelUrl() {
  return new Url('maillog.settings');
}