tripal_daemon.module 476 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * Non-Drush Tripal Daemon functionality.
  5. */
  6. require_once('includes/tripal_daemon.blocks.inc');
  7. /**
  8. * Implements hook_daemon_api_info().
  9. *
  10. * Registers our Daemon with the Daemon API
  11. */
  12. function tripal_daemon_daemon_api_info() {
  13. $daemon = array();
  14. $daemon['tripal_daemon'] = array(
  15. 'machine_name' => 'tripal_daemon',
  16. 'name' => 'Tripal Job Daemon',
  17. 'module' => 'tripal_daemon',
  18. 'class' => 'TripalDaemon',
  19. );
  20. return $daemon;
  21. }