public function Drupal8Config::isReady in Rocket.Chat 8.2
Check if we got everything to connect to a Client.
Return value
bool
Overrides RocketChatConfigInterface::isReady
File
- modules/
rocket_chat_api/ src/ RocketChat/ Drupal8Config.php, line 181
Class
- Drupal8Config
- Class Drupal8Config connects the API with the drupal system.
Namespace
Drupal\rocket_chat_api\RocketChatCode
public function isReady() {
return !empty($this
->getElement('rocket_chat_url')) && !empty($this
->getElement('rocket_chat_uid')) && !empty($this
->getElement('rocket_chat_uit'));
}