public function BanAdmin::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/ban/src/Form/BanAdmin.php \Drupal\ban\Form\BanAdmin::__construct()
- 9 core/modules/ban/src/Form/BanAdmin.php \Drupal\ban\Form\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\FormCode
public function __construct(BanIpManagerInterface $ip_manager) {
$this->ipManager = $ip_manager;
}