You are here

public function AdvbanIpManagerInterface::findById in Advanced ban 8

Finds a banned IP address by its ID.

Parameters

int $ban_id: The ID for a banned IP address.

Return value

string|false Either the banned IP address or FALSE if none exist with that ID.

1 method overrides AdvbanIpManagerInterface::findById()
AdvbanIpManager::findById in src/AdvbanIpManager.php
Finds a banned IP address by its ID.

File

src/AdvbanIpManagerInterface.php, line 74

Class

AdvbanIpManagerInterface
Provides an interface defining a AdvbanIp manager.

Namespace

Drupal\advban

Code

public function findById($ban_id);