BanIpManager::findAll

public 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\ban

Code

public function findAll() {
  return $this->connection->query('SELECT * FROM {ban_ip}');
}
doc_Drupal
2016-10-29 08:45:28
Comments
Leave a Comment

Please login to continue.