You are here

function advagg_admin_page in Advanced CSS/JS Aggregation 6

Page generation function for admin/settings/advagg

1 string reference to 'advagg_admin_page'
advagg_menu in ./advagg.module
Implementation of hook_menu().

File

./advagg.admin.inc, line 11
Admin page callbacks for the advanced CSS/JS aggregation module.

Code

function advagg_admin_page() {
  $output = '';
  $file_path = drupal_get_path('module', 'advagg');
  drupal_add_js(array(
    'advagg' => array(
      'key' => md5(drupal_get_private_key()),
    ),
  ), 'setting');
  drupal_add_js($file_path . '/advagg.admin.js');
  $output .= drupal_get_form('advagg_admin_settings_form');
  return $output;
}