You are here

public function AdvbanProvider::getBanType in Automatic IP ban (Autoban) 8

Get Ban type: single, range and so on.

Return value

string Human name for ban type.

Overrides AutobanProviderInterface::getBanType

File

modules/autoban_advban/src/AdvbanProvider.php, line 31

Class

AdvbanProvider
IP manager class for core Ban module.

Namespace

Drupal\autoban_advban

Code

public function getBanType() {
  return 'single';
}