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 actionAdminControllerInitBefore

Informations

Perform actions before admin controller initialization This hook is launched before the initialization of all admin controllers
Hook actionAdminControllerInitBefore
Locations
BO
Type action
Origin core
Aliases
Description This hook is launched before the initialization of all admin controllers

Located in

Origin File
core classes/controller/AdminController.php

Call of the Hook in the origin file

Hook::exec(
            'actionAdminControllerInitBefore',
            [
                'controller' => $this,
            ]
        )