protected function RequestController::buildMainTable in MongoDB 8.2
Build the main table.
Parameters
array $rows: The event data, as row entries for a "table" element.
Return value
array A render array for the main table.
1 call to RequestController::buildMainTable()
- RequestController::build in modules/
mongodb_watchdog/ src/ Controller/ RequestController.php - Controller.
File
- modules/
mongodb_watchdog/ src/ Controller/ RequestController.php, line 118
Class
- RequestController
- The controller for the request events page.
Namespace
Drupal\mongodb_watchdog\ControllerCode
protected function buildMainTable(array $rows) : array {
$ret = [
'#header' => $this
->buildMainTableHeader(),
'#rows' => $this
->buildMainTableRows($rows),
'#type' => 'table',
];
return $ret;
}