protected function OverviewController::buildMainTable in MongoDB 8.2
Build the main table.
Parameters
\Drupal\mongodb_watchdog\EventTemplate[] $rows: The template data.
Return value
array A render array for the main table.
1 call to OverviewController::buildMainTable()
- OverviewController::build in modules/
mongodb_watchdog/ src/ Controller/ OverviewController.php - Controller.
File
- modules/
mongodb_watchdog/ src/ Controller/ OverviewController.php, line 151
Class
- OverviewController
- The controller for the logger overview page.
Namespace
Drupal\mongodb_watchdog\ControllerCode
protected function buildMainTable(array $rows) : array {
$ret = [
'#header' => $this
->buildMainTableHeader(),
'#rows' => $this
->buildMainTableRows($rows),
'#type' => 'table',
];
return $ret;
}