You are here

function template_process_elasticsearch_page in Elasticsearch Connector 8.5

Same name and namespace in other branches
  1. 8.7 elasticsearch_connector.module \template_process_elasticsearch_page()
  2. 8 elasticsearch_connector.module \template_process_elasticsearch_page()
  3. 8.2 elasticsearch_connector.module \template_process_elasticsearch_page()
  4. 8.6 elasticsearch_connector.module \template_process_elasticsearch_page()

Process variables for references_dialog_page.

File

./elasticsearch_connector.module, line 509
Provides hook implementations and functions accessible from other modules.

Code

function template_process_elasticsearch_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') : '';
  }
}