You are here

function nodejs_get_js_handlers in Node.js integration 8

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

Get a list of javascript handler files.

1 call to nodejs_get_js_handlers()
nodejs_page_attachments_alter in ./nodejs.module
Implements hook_page_attachments_alter().

File

./nodejs.module, line 292

Code

function nodejs_get_js_handlers() {
  $handlers = \Drupal::moduleHandler()
    ->invokeAll('nodejs_handlers_info', $args = array());
  \Drupal::moduleHandler()
    ->alter('nodejs_js_handlers', $handlers);
  return $handlers;
}