You are here

public function AdvbanIpManager::findAll in Advanced ban 8

Finds all banned IP addresses.

Return value

\Drupal\Core\Database\StatementInterface The result of the database query.

Overrides AdvbanIpManagerInterface::findAll

File

src/AdvbanIpManager.php, line 153

Class

AdvbanIpManager
Ban IP manager.

Namespace

Drupal\advban

Code

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