You are here

public function GeysirParagraphDeleteForm::getCancelUrl in Geysir 8

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ContentEntityDeleteForm::getCancelUrl

File

src/Form/GeysirParagraphDeleteForm.php, line 66

Class

GeysirParagraphDeleteForm
Functionality to delete a paragraph.

Namespace

Drupal\geysir\Form

Code

public function getCancelUrl() {
  return $this
    ->getRedirectUrl();
}