-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Practical Module development for Prestashop 8
By :

Even if we presented methods to find which hooks to use in our modules multiple times, we haven’t yet presented the Hooks tool in the Symfony profiler toolbar visible in the BO Symfony-based controllers.
If you connect to your BO, and go to a Symfony-based controller in debug mode, you will find, in the profiler toolbar at the bottom of the page, the new Hooks tool:
Figure A.1 – The Hooks profiler tool
It will give you a shortlist of triggered hooks registered to modules. But if you click on the Hooks tab in the profiler, you will access the full list of hooks present and called on this page, whether they are received by module classes or not.
If you want to know more about a hook
parameter, you can browse the code of PrestaShop to reach the Hook call definition and see which parameters are sent.
Another great tool offered by the PrestaShop open source developer documentation is the hook list,...