Hook | actionGetAlternativeSearchPanels |
---|---|
Locations | BO |
Type | action |
Origin | core |
Aliases | |
Description | This hook allows to add an additional search panel for external providers in PrestaShop back office |
This hook has an $array_return
parameter set to true
(module output will be set by name in an array, see explaination here).
Origin | File |
---|---|
core | controllers/admin/AdminSearchController.php |
<?php
[
'previous_search_panels' => (array) $searchPanels,
'bo_query' => (string) $searchedExpression,
]
Hook::exec(
'actionGetAlternativeSearchPanels',
[
'previous_search_panels' => $searchPanels,
'bo_query' => $searchedExpression,
],
null,
true
)