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

You might want to look at the current version, PrestaShop 8. Read the current version of the documentation

Hook actionLanguageLinkParameters

Informations

Add parameters to language link Allows modules to provide proper parameters for links in other languages.
Hook actionLanguageLinkParameters
Locations
FO
Type action
Origin core
Aliases
Description Allows modules to provide proper parameters for links in other languages.

Located in

Origin File
core classes/Link.php

Call of the Hook in the origin file

Hook::exec(
                    'actionLanguageLinkParameters',
                    ['linkParams' => &$params, 'linkIdLang' => (int) $idLang]
                );