You are here

public function BanProvider::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_ban/src/BanProvider.php, line 31

Class

BanProvider
IP manager class for core Ban module.

Namespace

Drupal\autoban_ban

Code

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