public static function HostQuery::loadExpiredHosts in http:BL 8
Implemented in HostQuery.
Overrides Host::loadExpiredHosts
1 call to HostQuery::loadExpiredHosts()
- httpbl_cron in ./
httpbl.module - Implements hook_cron().
File
- src/
HostQuery.php, line 60 - Contains \Drupal\httpbl\HostQuery.
Class
Namespace
Drupal\httpblCode
public static function loadExpiredHosts($now) {
$hosts = self::getExpiredHosts($now);
$hosts = Host::loadMultiple($hosts);
return $hosts;
}