You are here

public function FlushExternalImages::getCancelUrl in Imagecache External 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/FlushExternalImages.php, line 39

Class

FlushExternalImages
Defines a confirmation form for deleting mymodule data.

Namespace

Drupal\imagecache_external\Form

Code

public function getCancelUrl() {
  return new Url('imagecache_external.admin_settings');
}