public function BanIpManager::findAll in Drupal 9
Same name and namespace in other branches
- 8 core/modules/ban/src/BanIpManager.php \Drupal\ban\BanIpManager::findAll()
Finds all banned IP addresses.
Return value
\Drupal\Core\Database\StatementInterface The result of the database query.
Overrides BanIpManagerInterface::findAll
File
- core/
modules/ ban/ src/ BanIpManager.php, line 39
Class
- BanIpManager
- Ban IP manager.
Namespace
Drupal\banCode
public function findAll() {
return $this->connection
->query('SELECT * FROM {ban_ip}');
}