This module provides a function that acts identical to "drupal_add_js()" but will be stored in a session instead and be executed on the next page request (init).

This could be useful if you want to trigger an event after a redirect etc.

set_js_queue('js/script.js', array(
  'type' => 'file',
  'scope' => 'footer',
  'weight' => 3
));

Project information

  • caution Seeking new maintainer
    The current maintainers are looking for new people to take ownership.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Developer tools
  • Created by kallehauge on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases