You are here

function references_dialog_init in References dialog 7

Implements hook_init().

File

./references_dialog.module, line 557
This the main module file.

Code

function references_dialog_init() {
  if (references_dialog_in_dialog()) {
    if (module_exists('admin_menu')) {
      module_invoke('admin_menu', 'suppress');
    }
    drupal_add_css(drupal_get_path('module', 'references_dialog') . '/css/references-dialog-search.css');
  }
}