You are here

public function ParserOperationForm::getCancelUrl in Markdown 8.2

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to ParserOperationForm::getCancelUrl()
ParserOperationForm::submitForm in src/Form/ParserOperationForm.php
Form submission handler.

File

src/Form/ParserOperationForm.php, line 146

Class

ParserOperationForm
Provides a confirmation form to disable a parser.

Namespace

Drupal\markdown\Form

Code

public function getCancelUrl() {
  return new Url('markdown.overview');
}