You are here

public function BanAdmin::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/ban/src/Form/BanAdmin.php \Drupal\ban\Form\BanAdmin::__construct()

Constructs a new BanAdmin object.

Parameters

\Drupal\ban\BanIpManagerInterface $ip_manager:

File

core/modules/ban/src/Form/BanAdmin.php, line 31
Contains \Drupal\ban\Form\BanAdmin.

Class

BanAdmin
Displays banned IP addresses.

Namespace

Drupal\ban\Form

Code

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