Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

Hook actionBuildFrontEndObject

Informations

Manage elements added to the "prestashop" javascript object This hook allows you to customize the "prestashop" javascript object that is included in all front office pages
Hook actionBuildFrontEndObject
Locations
FO
Type action
Origin core
Aliases

Located in

Origin File
core classes/controller/FrontController.php

Call of the Hook in the origin file

Hook::exec('actionBuildFrontEndObject', [
            'obj' => &$object,
        ])