Hook | actionSearch |
---|---|
Locations | FO |
Type | action |
Origin | core |
Aliases | |
Description |
Origin | File |
---|---|
core | src/Adapter/Search/SearchProductSearchProvider.php |
<?php
array(
'expr' => (string) Search query,
'total' => (int) Amount of search results
);
Hook::exec('actionSearch', [
'searched_query' => $queryString,
'total' => $count,
// deprecated since 1.7.x
'expr' => $queryString,
])