You are here

public function UltimateCronLauncher::formatRunning in Ultimate Cron 7.2

Format running state.

1 call to UltimateCronLauncher::formatRunning()
UltimateCronBackgroundProcessLegacyLauncher::formatRunning in plugins/ultimate_cron/launcher/background_process_legacy.class.php
Format running state.
1 method overrides UltimateCronLauncher::formatRunning()
UltimateCronBackgroundProcessLegacyLauncher::formatRunning in plugins/ultimate_cron/launcher/background_process_legacy.class.php
Format running state.

File

./ultimate_cron.plugin.inc, line 1054
Plugin framework for Ultimate Cron.

Class

UltimateCronLauncher
Abstract class for Ultimate Cron launchers.

Code

public function formatRunning($job) {
  $file = drupal_get_path('module', 'ultimate_cron') . '/icons/hourglass.png';
  $status = theme('image', array(
    'path' => $file,
  ));
  $title = t('running');
  return array(
    $status,
    $title,
  );
}