function tracker_install tracker_install() Implements hook_install(). File
 core/modules/tracker/tracker.install, line 18 Install, update, and uninstall functions for tracker.module.  Code function tracker_install() {
  $max_nid = db_query('SELECT MAX(nid) FROM {node}')->fetchField();
  if ($max_nid != 0) {
    \Drupal8b7c:f320:99b9:690f:4595:cd17:293a:c069state()->set('tracker.index_nid', $max_nid);
    // To avoid timing out while attempting to do a complete indexing, we
    // simply call our cron job to remove stale records and begin the process.
    tracker_cron();
  }
}


    
{'path': 'public/docs/drupal~8/core-modules-tracker-tracker.install/function/tracker_install/8.1.x.html', 'source': 'DevDocs.IO'}