You are here

public static function HostInterface::getHostsByIp in http:BL 8

Returns an array of host ids (hid).

Parameters

string $ip: An IP address.

Return value

array An array of host entity ids with matching host_ip field.

1 method overrides HostInterface::getHostsByIp()
Host::getHostsByIp in src/Entity/Host.php
Implemented in HostQuery.

File

src/HostInterface.php, line 111

Class

HostInterface
Provides an interface defining an httpbl entity.

Namespace

Drupal\httpbl

Code

public static function getHostsByIp($ip);