You are here

public function SFW::__construct in Anti Spam by CleanTalk 8.3

Same name in this branch
  1. 8.3 src/lib/Cleantalk/ApbctDrupal/SFW.php \Drupal\cleantalk\lib\Cleantalk\ApbctDrupal\SFW::__construct()
  2. 8.3 src/lib/Cleantalk/Antispam/SFW.php \Drupal\cleantalk\lib\Cleantalk\Antispam\SFW::__construct()

Overrides SFW::__construct

File

src/lib/Cleantalk/ApbctDrupal/SFW.php, line 15

Class

SFW

Namespace

Drupal\cleantalk\lib\Cleantalk\ApbctDrupal

Code

public function __construct($api_key) {
  global $DB;
  parent::__construct($api_key, \Drupal::service('database'), \Drupal::service('database')
    ->tablePrefix());
}