You are here

public function MediaThumbnailRefreshForm::getCancelUrl in Media Thumbnails 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/MediaThumbnailRefreshForm.php, line 46

Class

MediaThumbnailRefreshForm
Implements thumbnail refresh confirmation form.

Namespace

Drupal\media_thumbnails\Form

Code

public function getCancelUrl() : Url {
  return new Url('media_thumbnails.admin');
}