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 actionDispatcherAfter

Informations

After dispatch This hook is called at the end of the dispatch method of the Dispatcher
Hook actionDispatcherAfter
Locations
FO
Type action
Origin core
Aliases
Description This hook is called at the end of the dispatch method of the Dispatcher

Located in

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

Call of the Hook in the origin file

dispatchWithParameters(self::DISPATCHER_AFTER_ACTION, [
                'controller_type' => $requestAttributes->get('controller_type'),
                'controller_class' => $requestAttributes->get('controller_name'),
                'is_module' => 0,
            ])