public function CronJobListBuilder::buildHeader in Ultimate Cron 8.2
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides DraggableListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- src/
CronJobListBuilder.php, line 25
Class
- CronJobListBuilder
- Defines a class to build a listing of cron jobs.
Namespace
Drupal\ultimate_cronCode
public function buildHeader() {
$header = array();
$header['label'] = array(
'data' => t('Title'),
);
$header['module'] = array(
'data' => t('Module'),
);
$header['scheduled'] = array(
'data' => t('Scheduled'),
);
$header['started'] = array(
'data' => t('Last Run'),
);
$header['duration'] = array(
'data' => t('Duration'),
);
$header['status'] = array(
'data' => t('Status'),
);
return $header + parent::buildHeader();
}