You are here

protected function TopController::buildMainTableHeader in MongoDB 8.2

Build the main table header.

Return value

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

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

File

modules/mongodb_watchdog/src/Controller/TopController.php, line 111

Class

TopController
The Top403/Top404 controllers.

Namespace

Drupal\mongodb_watchdog\Controller

Code

protected function buildMainTableHeader() : array {
  $header = [
    $this
      ->t('#'),
    $this
      ->t('Paths'),
  ];
  return $header;
}