You are here

public function ConfirmDeleteForm::getCancelUrl in Hashtags 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/ConfirmDeleteForm.php, line 39

Class

ConfirmDeleteForm

Namespace

Drupal\hashtags\Form

Code

public function getCancelUrl() {
  return new Url('hashtags.manager_form');
}