function health_init in Health Status 7
Implements hook_init().
File
- ./
health.module, line 15 - Contains the basic hooks and function used by the Health system.
Code
function health_init() {
// Add admin stylesheet if on the dashboard.
if (arg(1) == 'reports' && arg(2) == 'health') {
drupal_add_css(drupal_get_path('module', 'health') . '/css/health.css', array(
'type' => 'file',
));
}
}