public function Drupal8Config::notify in Rocket.Chat 8.2
Same name and namespace in other branches
- 8 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 172
Class
- Drupal8Config
- Class Drupal8Config connects the API with the drupal system.
Namespace
Drupal\rocket_chat_api\RocketChatCode
public function notify($message, $type) {
return $this->messenger
->addMessage("{$message}", $type);
}