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 actionDispatcherBefore

Informations

Before dispatch This hook is called at the beginning of the dispatch method of the Dispatcher
Hook actionDispatcherBefore
Locations
FO
Type action
Origin core
Aliases

Located in

Origin File
core src/PrestaShopBundle/EventListener/ActionDispatcherLegacyHooksSubscriber.php

Call of the Hook in the origin file

dispatchWithParameters(self::DISPATCHER_BEFORE_ACTION, [
            'controller_type' => $controllerType,
        ])