You are here

public function JavascriptCoreLibrariesDeleteForm::getCancelUrl in JavaScript Libraries Manager 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/JavascriptCoreLibrariesDeleteForm.php, line 34
Contains \Drupal\javascript_libraries\Form\JavascriptLibrariesDeleteForm.

Class

JavascriptCoreLibrariesDeleteForm

Namespace

Drupal\javascript_libraries\Form

Code

public function getCancelUrl() {
  return new Url('javascript_libraries.custom_form');
}