function BanDelete::__construct
Same name in other branches
- 8.9.x core/modules/ban/src/Form/BanDelete.php \Drupal\ban\Form\BanDelete::__construct()
- 10 core/modules/ban/src/Form/BanDelete.php \Drupal\ban\Form\BanDelete::__construct()
- 11.x 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\FormCode
public function __construct(BanIpManagerInterface $ip_manager) {
$this->ipManager = $ip_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.