You are here

public function AdvbanIpManagerInterface::formatIp in Advanced ban 8

Format of the IP record (individual or range).

Parameters

string $ip: Banned IP address.

string $ip_end: Banned IP address (end of range).

Return value

string Format string for IP addresses.

1 method overrides AdvbanIpManagerInterface::formatIp()
AdvbanIpManager::formatIp in src/AdvbanIpManager.php
Format of the IP record (individual or range).

File

src/AdvbanIpManagerInterface.php, line 87

Class

AdvbanIpManagerInterface
Provides an interface defining a AdvbanIp manager.

Namespace

Drupal\advban

Code

public function formatIp($ip, $ip_end);