request = $request; } public function renderWidgetContent(): string { $view = $this->backendViewFactory->create($this->request); $view->assignMultiple([ 'icon' => $this->options['icon'] ?? '', 'title' => $this->options['title'] ?? '', 'subtitle' => $this->options['subtitle'] ?? '', 'number' => $this->dataProvider->getNumber(), 'options' => $this->options, 'configuration' => $this->configuration, ]); return $view->render('Widget/NumberWithIconWidget'); } public function getOptions(): array { return $this->options; } }