You are here

public function BanDelete::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/ban/src/Form/BanDelete.php \Drupal\ban\Form\BanDelete::__construct()
  2. 9 core/modules/ban/src/Form/BanDelete.php \Drupal\ban\Form\BanDelete::__construct()

Constructs a new BanDelete object.

Parameters

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

File

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

Class

BanDelete
Provides a form to unban IP addresses.

Namespace

Drupal\ban\Form

Code

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