You are here

public function MandrillAdminTestForm::getCancelUrl in Mandrill 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/MandrillAdminTestForm.php, line 43

Class

MandrillAdminTestForm
Form controller for the Mandrill send test email form.

Namespace

Drupal\mandrill\Form

Code

public function getCancelUrl() {
  return new Url('mandrill.test');
}