Created
November 21, 2018 05:27
-
-
Save skrosoft/31a89f5f473535f7bf35eea9c6be5890 to your computer and use it in GitHub Desktop.
Using the ViewParametersGenerator symfony/ezplatform service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return new RedirectResponse( | |
sprintf('%s%s', $this->urlAliasGenerator->getPathPrefixByRootLocationId( | |
$first_child->locations[0]->contentInfo->mainLocationId | |
), $this->viewParametersGenerator->getFromRequest($request)) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment