You are here

public function JavascriptLibrariesDeleteForm::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/JavascriptLibrariesDeleteForm.php, line 34
Contains \Drupal\javascript_libraries\Form\JavascriptLibrariesDeleteForm.

Class

JavascriptLibrariesDeleteForm

Namespace

Drupal\javascript_libraries\Form

Code

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