function template_process_elasticsearch_page in Elasticsearch Connector 8
Same name and namespace in other branches
- 8.7 elasticsearch_connector.module \template_process_elasticsearch_page()
- 8.2 elasticsearch_connector.module \template_process_elasticsearch_page()
- 8.5 elasticsearch_connector.module \template_process_elasticsearch_page()
- 8.6 elasticsearch_connector.module \template_process_elasticsearch_page()
Process variables for references_dialog_page.
File
- ./
elasticsearch_connector.module, line 506 - 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') : '';
}
}