You are here

public function Cleantalk::isAllowUser in Anti Spam by CleanTalk 8.3

Function checks whether it is possible to publish the message

Parameters

CleantalkRequest $request:

Return value

type

File

src/lib/Cleantalk/Antispam/Cleantalk.php, line 130

Class

Cleantalk
Cleantalk class create request

Namespace

Drupal\cleantalk\lib\Cleantalk\Antispam

Code

public function isAllowUser(CleantalkRequest $request) {
  $request = $this
    ->filterRequest($request);
  $msg = $this
    ->createMsg('check_newuser', $request);
  return $this
    ->httpRequest($msg);
}