You are here

function nodejs_get_nodejs in Node.js integration 8

Procedural wrapper to get an Nodejs object.

File

./nodejs.module, line 15

Code

function nodejs_get_nodejs() {
  return \Drupal::service('nodejs.nodejs');
}