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

Breadcrumb

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

function BanAdmin::__construct

Constructs a new BanAdmin object.

Parameters

\Drupal\ban\BanIpManagerInterface $ip_manager: The ban IP manager.

File

core/modules/ban/src/Form/BanAdmin.php, line 29

Class

BanAdmin
Displays banned IP addresses.

Namespace

Drupal\ban\Form

Code

public function __construct(BanIpManagerInterface $ip_manager) {
    $this->ipManager = $ip_manager;
}

API Navigation

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