/** * Format running state. */ public function formatRunning($job) { $settings = $job->getSettings('launcher'); if (empty($settings['daemonize'])) { return parent::formatRunning($job); } $file = drupal_get_path('module', 'ultimate_cron') . '/icons/hourglass_go.png'; $status = theme('image', array('path' => $file)); $title = t('daemonized'); return array($status, $title); }