code: public function getWidgets()
      {
          $sections = $this->sections;
          $widgets = [];
          foreach ($this->sections as $section) {
              foreach ($section->getAll() as $key => $widget) {
                  $widgets[$key] = $widget;
              }
          }
  
          return $widgets;
      }
docs: Get widgets.
  
  @return [[@doctodo return_type:getWidgets]] [[@doctodo return_description:getWidgets]]