You are here

public function Test7Config::notify in Rocket.Chat 8

Same name and namespace in other branches
  1. 8.2 modules/rocket_chat_api/src/RocketChat/TestConfig.class.inc \Drupal\rocket_chat_api\RocketChat\Test7Config::notify()

Notify the backend.

Parameters

string $message: Message to report back.

string $type: Type or Level of the Message.

Return value

mixed Result of notify on backend.

Overrides Drupal8Config::notify

File

modules/rocket_chat_api/src/RocketChat/TestConfig.class.inc, line 90

Class

Test7Config
Class Test7Config For Testing.

Namespace

Drupal\rocket_chat_api\RocketChat

Code

public function notify($message, $type) {
  return fwrite(STDERR, "Message [{$type}=>{$message}]\n");
}