Hook actionFrontControllerSetVariablesBefore
Add general purpose variables in JavaScript object and Smarty templates before assignation.
Allows defining variables for the JavaScript object before the core does it.
Hook |
actionFrontControllerSetVariablesBefore |
Locations |
FO |
Type |
action |
Origin |
core |
Aliases |
|
Description |
Allows defining variables for the JavaScript object before the core does it. |
Located in
Call of the Hook in the origin file
Hook::exec(
'actionFrontControllerSetVariablesBefore',
[
'templateVars' => &$templateVars,
'cart' => $cart,
]
);