public function Cleantalk::isAllowMessage 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 98
Class
- Cleantalk
- Cleantalk class create request
Namespace
Drupal\cleantalkCode
public function isAllowMessage(CleantalkRequest $request) {
$this
->filterRequest($request);
$msg = $this
->createMsg('check_message', $request);
return $this
->httpRequest($msg);
}