You are here

public function IpBanSetBanInterface::getBanValue in IP Ban 8

Returns the ban value currently set.

Return value

int The user's ban value (one of IP_BAN_NOBAN (0), IP_BAN_READONLY (1), or IP_BAN_BANNED (2), which are defined in the .module file.

1 method overrides IpBanSetBanInterface::getBanValue()
IpBanSetBanManager::getBanValue in src/IpBanSetBanManager.php
Returns the ban value currently set.

File

src/IpBanSetBanInterface.php, line 31
Contains \Drupal\ip_ban\IpBanSetBanInterface.

Class

IpBanSetBanInterface

Namespace

Drupal\ip_ban

Code

public function getBanValue();