Skip to content

Commit

Permalink
[TASK] CGL fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hojalatheef committed Dec 6, 2024
1 parent 8962e74 commit 2a16af2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Classes/Backend/Preview/Weather2PluginPreview.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ class Weather2PluginPreview extends StandardContentPreviewRenderer
public function __construct(
protected FlexFormService $flexFormService,
protected ViewFactoryInterface $viewFactory,
) {
}
) {}

public function renderPageModulePreviewContent(GridColumnItem $item): string
{
Expand All @@ -47,7 +46,7 @@ public function renderPageModulePreviewContent(GridColumnItem $item): string
$view = $this->viewFactory->create(
new ViewFactoryData(
templatePathAndFilename: self::PREVIEW_TEMPLATE,
)
),
);
$view->assignMultiple($ttContentRecord);

Expand Down

0 comments on commit 2a16af2

Please sign in to comment.