public function setWidgets(array $widgets)
    {
        $this->widgets = [];

        foreach ($widgets as $widgetIdent => $widget) {
            $this->addWidget($widgetIdent, $widget);
        }

        return $this;
    }