hydrateLocalPlugins example

'version' => $version,
                            // The implode concatenates multiple entries for one language                             'text' => $this->parseChangeLog(trim(implode('', $item[$lang]))),
                        ];
                    }
                }

                $row['changelog'] = $changelog;
            }
        }

        return $this->hydrator->hydrateLocalPlugins($plugins);
    }

    private function getIconOfPlugin(string $name): ?string
    {
        $path = $this->installerService->getPluginPath($name);
        $path .= '/plugin.png';

        $relativePath = str_replace($this->shopwareRootDir, '', $path);

        if (file_exists($path) && $this->front->Request() !== null) {
            return $this->front->Request()->getBasePath() . '/' . ltrim($relativePath, '/');
        }
Home | Imprint | This part of the site doesn't use cookies.