Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BanDelete.php

function BanDelete::getCancelUrl

Overrides ConfirmFormInterface::getCancelUrl

1 call to BanDelete::getCancelUrl()
BanDelete::submitForm in core/modules/ban/src/Form/BanDelete.php
Form submission handler.

File

core/modules/ban/src/Form/BanDelete.php, line 76

Class

BanDelete
Provides a form to unban IP addresses.

Namespace

Drupal\ban\Form

Code

public function getCancelUrl() {
    return new Url('ban.admin_page');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal