Hook actionBuild<Controller>FrontEndObject
| Hook |
actionBuild<Controller>FrontEndObject |
| Locations |
FO |
| Type |
action |
| Origin |
core |
| Aliases |
|
| Description |
This hook is called after the "prestashop" javascript object has been built to be sent to the front end. You can add/edit/remove variables from the array passed by reference. Those variables will be inserted in the "prestashop" javascript object. |
Located in
Call of the Hook in the origin file
Hook::exec('actionBuild' . $this->getControllerName() . 'FrontEndObject', [
'obj' => &$object,
]);