You are here

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

Function checks whether it is possible to publish the message

Parameters

CleantalkRequest $request:

Return value

type

File

src/Cleantalk.php, line 109

Class

Cleantalk
Cleantalk class create request

Namespace

Drupal\cleantalk

Code

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