You are here

public function MetatagViewsRevertForm::getCancelUrl in Metatag 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

metatag_views/src/Form/MetatagViewsRevertForm.php, line 73

Class

MetatagViewsRevertForm
Defines a form for reverting views metatags.

Namespace

Drupal\metatag_views\Form

Code

public function getCancelUrl() {
  return new Url('metatag_views.metatags.list');
}