You are here

function swftools_init in SWF Tools 6.2

Same name and namespace in other branches
  1. 6.3 swftools.module \swftools_init()
  2. 6 swftools.module \swftools_init()

Implementation of hook_init() swftools_init() is used to force embedding JavaScript on to all pages

File

./swftools.module, line 42

Code

function swftools_init() {
  if (variable_get('swftools_always_add_js', SWFTOOLS_ALWAYS_ADD_JS)) {
    swftools_push_js();
  }
}