You are here

public function FlushAllForm::getCancelUrl in Textimage 8.3

Same name and namespace in other branches
  1. 8.4 src/Form/FlushAllForm.php \Drupal\textimage\Form\FlushAllForm::getCancelUrl()

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/FlushAllForm.php, line 73

Class

FlushAllForm
Creates a form to confirm flushing of all Textimage images.

Namespace

Drupal\textimage\Form

Code

public function getCancelUrl() {
  return new Url('textimage.settings');
}