You are here

public function BanIpManager::findAll in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 44
Contains \Drupal\ban\BanIpManager.

Class

BanIpManager
Ban IP manager.

Namespace

Drupal\ban

Code

public function findAll() {
  return $this->connection
    ->query('SELECT * FROM {ban_ip}');
}