first import 7.x-1.4

This commit is contained in:
bachy
2013-03-15 17:32:30 +01:00
commit 9cc5ba4cfa
68 changed files with 17899 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
/**
* @file
* Hooks provided by the Search facets module.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Lets modules alter the search keys that are returned to FacetAPI and used
* in the current search block and breadcrumb trail.
*
* @param string $keys
* The string representing the user's current search query.
* @param SearchApiQuery $query
* The SearchApiQuery object for the current search.
*/
function hook_search_api_facetapi_keys_alter(&$keys, $query) {
if ($keys == '[' . t('all items') . ']') {
// Change $keys to something else, perhaps based on filters in the query
// object.
}
}
/**
* @} End of "addtogroup hooks".
*/