code: public function indexAction()
      {
          /* @var \Core\EventManager\EventManager $events
           * @var AdminControllerEvent $event */
          $events = $this->adminControllerEvents;
          $event  = $events->getEvent(AdminControllerEvent::EVENT_DASHBOARD, $this);
          $events->trigger($event, $this);
  
          $model = new ViewModel();
          $widgets = [];
          foreach ($event->getViewModels() as $name => $child) {
              $model->addChild($child, $name);
              $widgets[] = $name;
          }
  
          $model->setVariable('widgets', $widgets);
          return $model;
      }
docs: Controls the admin dashboard page.
  
  @return ViewModel