Modernizing Enterprise CMS Using Pimcore by Daniele Fontani Marco Guiducci Francesco Minà

Modernizing Enterprise CMS Using Pimcore by Daniele Fontani Marco Guiducci Francesco Minà

Author:Daniele Fontani, Marco Guiducci, Francesco Minà
Language: eng
Format: epub
Publisher: Packt Publishing Pvt. Ltd.
Published: 2021-07-09T00:00:00+00:00


Request

From the default Symfony objects, you can access the request data. This can be done using the app.request item that contains all the information that we need. In the next example, we used this method to get the "_dc" URL parameter that you usually have in a page preview:

{{ app.request.get("_dc") }}

This is just a sample, and you can access all the request parameters. You can look at the official documentation for more information, here: https://symfony.com/doc/current/templates.html#the-app-global-variable.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.