protected function DetailController::buildMainTableHeader in MongoDB 8.2
Build the main table header.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup[] A table header array.
1 call to DetailController::buildMainTableHeader()
- DetailController::buildMainTable in modules/
mongodb_watchdog/ src/ Controller/ DetailController.php - Build the main table.
File
- modules/
mongodb_watchdog/ src/ Controller/ DetailController.php, line 107
Class
- DetailController
- The controller for the event detail page.
Namespace
Drupal\mongodb_watchdog\ControllerCode
protected function buildMainTableHeader() : array {
$header = [
$this
->t('Date'),
$this
->t('User'),
$this
->t('Message'),
$this
->t('Location'),
$this
->t('Referrer'),
$this
->t('Hostname'),
$this
->t('Operations'),
];
return $header;
}