public function UltimateCronJob::getModuleDescription in Ultimate Cron 7.2
Get module description for this job.
File
- ./
ultimate_cron.job.inc, line 596 - Job class for Ultimate Cron.
Class
- UltimateCronJob
- Class for handling cron jobs.
Code
public function getModuleDescription() {
static $descs = array();
if (!isset($descs[$this->hook['module']])) {
$info = system_get_info('module', $this->hook['module']);
$descs[$this->hook['module']] = $info && !empty($info['description']) ? $info['description'] : '';
}
return $descs[$this->hook['module']];
}