You are here

public function ResetSettingsForm::getCancelUrl in Pager Serializer 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/ResetSettingsForm.php, line 68

Class

ResetSettingsForm
Defines a confirmation form to confirm deletion of something by id.

Namespace

Drupal\pager_serializer\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('pager_serializer.settings');
}