function commons_events_solr_node_presave in Drupal Commons 7.3
Implements hook_node_presave to display a message warning the user that results won't occur immediately
File
- modules/
commons/ commons_events/ modules/ commons_events_solr/ commons_events_solr.module, line 287
Code
function commons_events_solr_node_presave($node) {
if ($node->type == 'event') {
drupal_set_message(t('Your event may take a few minutes to appear on the listing page.'));
}
}