Hook productSearchProvider

Informations

Hook productSearchProvider
Locations
FO
Type action
Origin core
Aliases
Description

This hook has an $array_return parameter set to true (module output will be set by name in an array, see explaination here).

Located in

Origin File
core classes/controller/ProductListingFrontController.php

Call of the Hook in the origin file

$providers = Hook::exec(
    'productSearchProvider',
    ['query' => $query],
    null,
    true
);