BanIpManager::$connection

Same name in other branches
  1. 9 core/modules/ban/src/BanIpManager.php \Drupal\ban\BanIpManager::connection
  2. 10 core/modules/ban/src/BanIpManager.php \Drupal\ban\BanIpManager::connection
  3. 11.x core/modules/ban/src/BanIpManager.php \Drupal\ban\BanIpManager::connection

The database connection used to check the IP against.

Type: \Drupal\Core\Database\Connection

File

core/modules/ban/src/BanIpManager.php, line 17

Class

BanIpManager
Ban IP manager.

Namespace

Drupal\ban

Code

protected $connection;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.