You are here

public function AnimateDeleteForm::getCancelUrl in Animate Any 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/AnimateDeleteForm.php, line 24

Class

AnimateDeleteForm
Defines a confirmation form for deleting Animation data from Animation list.

Namespace

Drupal\animate_any\Form

Code

public function getCancelUrl() {
  return new Url('animate_any.animate_list');
}