public function AdvbanRangeProvider::getBanIpManager in Automatic IP ban (Autoban) 8
Get BanIpManager object.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection which will be used get BanIpManager.
Return value
object BanIpManager object.
Overrides AutobanProviderInterface::getBanIpManager
File
- modules/
autoban_advban/ src/ AdvbanRangeProvider.php, line 38
Class
- AdvbanRangeProvider
- IP manager class for Advanced Ban (range) module.
Namespace
Drupal\autoban_advbanCode
public function getBanIpManager(Connection $connection) {
return \Drupal::service('advban.ip_manager');
}