You are here

public function Vcl::add_message in Fastly 7.2

Adds new message.

Parameters

$message:

1 call to Vcl::add_message()
Vcl::execute in ./fastly.vcl.inc
Main execute function, takes values inserted into constructor, builds requests and sends them via Fastly API.

File

./fastly.vcl.inc, line 690

Class

Vcl
Class to control the VCL handling.

Code

public function add_message($message) {
  drupal_set_message(t($message), "status");
  $this->_webhook
    ->sendMessage(t($message), "INFO", "vlc_upload_actions");
}