You are here

function nodejs_is_valid_service_key in Node.js integration 7

Same name and namespace in other branches
  1. 8 nodejs.module \nodejs_is_valid_service_key()
  2. 6 nodejs.module \nodejs_is_valid_service_key()

Check if the given service key is valid.

1 call to nodejs_is_valid_service_key()
nodejs_message_handler in ./nodejs.module
Menu callback: handles all messages from Node.js server.

File

./nodejs.module, line 529

Code

function nodejs_is_valid_service_key($service_key) {
  return $service_key == variable_get('nodejs_service_key', '');
}