You are here

public function IpBanSetBanManager::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.

Overrides IpBanSetBanInterface::getBanValue

File

src/IpBanSetBanManager.php, line 72
Contains \Drupal\ip_ban\IpBanSetBanInterface.

Class

IpBanSetBanManager

Namespace

Drupal\ip_ban

Code

public function getBanValue() {
  return $this->banvalue;
}