You are here

public function Drupal8Config::notify in Rocket.Chat 8

Same name and namespace in other branches
  1. 8.2 modules/rocket_chat_api/src/RocketChat/Drupal8Config.php \Drupal\rocket_chat_api\RocketChat\Drupal8Config::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 RocketChatConfigInterface::notify

1 method overrides Drupal8Config::notify()
Test7Config::notify in modules/rocket_chat_api/src/RocketChat/TestConfig.class.inc
Notify the backend.

File

modules/rocket_chat_api/src/RocketChat/Drupal8Config.php, line 135

Class

Drupal8Config
Class Drupal8Config connects the API with the drupal system.

Namespace

Drupal\rocket_chat_api\RocketChat

Code

public function notify($message, $type) {
  return drupal_set_message($message, $type);
}