public function Nodejs::sendContentTokenMessage in Node.js integration 8
File
- src/
Nodejs.php, line 120
Class
Namespace
Drupal\nodejsCode
public function sendContentTokenMessage($message) {
$this->moduleHandler
->alter('nodejs_content_channel_message', $message);
$options = [
'method' => 'POST',
'body' => Json::encode($message),
];
return $this
->httpRequest('nodejs/content/token/message', $options);
}