You are here

protected function OverviewController::buildMainTableHeader in MongoDB 8.2

Build the main table header.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup[] A table header array.

1 call to OverviewController::buildMainTableHeader()
OverviewController::buildMainTable in modules/mongodb_watchdog/src/Controller/OverviewController.php
Build the main table.

File

modules/mongodb_watchdog/src/Controller/OverviewController.php, line 167

Class

OverviewController
The controller for the logger overview page.

Namespace

Drupal\mongodb_watchdog\Controller

Code

protected function buildMainTableHeader() : array {
  $header = [
    $this
      ->t('#'),
    $this
      ->t('Latest'),
    $this
      ->t('Severity'),
    $this
      ->t('Type'),
    $this
      ->t('Message'),
    $this
      ->t('Source'),
  ];
  return $header;
}