You are here

public function CacheflushDeleteMultiple::getCancelUrl in CacheFlush 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

modules/cacheflush_ui/src/Form/CacheflushDeleteMultiple.php, line 103

Class

CacheflushDeleteMultiple
Provides a cacheflush deletion confirmation form.

Namespace

Drupal\cacheflush_ui\Form

Code

public function getCancelUrl() {
  return new Url('entity.cacheflush.collection');
}