You are here

function template_process_references_dialog_page in References dialog 7

Process variables for references_dialog_page.

File

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

Code

function template_process_references_dialog_page(&$variables) {

  // Generate messages last in order to capture as many as possible for the
  // current page.
  if (!isset($variables['messages'])) {
    $variables['messages'] = $variables['page']['#show_messages'] ? theme('status_messages') : '';
  }
}