You are here

public function BanProvider::getId in Automatic IP ban (Autoban) 8

Get BanProvider id for store in autoban rule.

Return value

string Ban provider ID.

Overrides AutobanProviderInterface::getId

File

modules/autoban_ban/src/BanProvider.php, line 17

Class

BanProvider
IP manager class for core Ban module.

Namespace

Drupal\autoban_ban

Code

public function getId() {
  return 'ban';
}