You are here

function advagg_js_array in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 7 advagg.module \advagg_js_array()

Build and theme JS output for header.

Parameters

$external_no_preprocess: array(array($src, $defer))

$output_preprocess: array(array($src, $prefix, $suffix))

$output_no_preprocess: array(array(array($src, $defer)))

$setting_no_preprocess: array(array($code))

$inline_no_preprocess: array(array($code, $defer))

$scope: header or footer.

$js_settings_array: array of settings used.

$inline_included: array of inline scripts used.

$files_included: array of files used.

$files_aggregates_included: array of files and aggregates used.

Return value

String of themed JavaScript.

1 string reference to 'advagg_js_array'
advagg_get_js_css_get_array in ./advagg.module
Return a large array of the CSS & JS files loaded on this page.

File

./advagg.module, line 3907
Advanced CSS/JS aggregation module

Code

function advagg_js_array($external_no_preprocess, $output_preprocess, $output_no_preprocess, $setting_no_preprocess, $inline_no_preprocess, $scope, $js_settings_array, $inline_included, $files_included, $files_aggregates_included) {
  return array(
    'settings' => $js_settings_array,
    'inline' => $inline_included,
    'files' => $files_included,
    'files_aggregates' => $files_aggregates_included,
  );
}