You are here

function nodejs_get_config in Node.js integration 8

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

Get nodejs server config.

Return value

array

2 calls to nodejs_get_config()
nodejs_js_settings_alter in ./nodejs.module
Implements hook_js_settings_alter().
nodejs_library_info_build in ./nodejs.module
Implements hook_library_info_build().

File

./nodejs.module, line 571

Code

function nodejs_get_config() {
  return \Drupal::config('nodejs.config')
    ->get();
}