You are here

protected function OverviewController::getTop in MongoDB 8.2

Return the top element.

Return value

array A render array for the top filter form.

Overrides ControllerBase::getTop

1 call to OverviewController::getTop()
OverviewController::build in modules/mongodb_watchdog/src/Controller/OverviewController.php
Controller.

File

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

Class

OverviewController
The controller for the logger overview page.

Namespace

Drupal\mongodb_watchdog\Controller

Code

protected function getTop() : array {
  $top = $this->formBuilder
    ->getForm('Drupal\\mongodb_watchdog\\Form\\OverviewFilterForm');
  return $top;
}