function search_api_grouping_get_type in Search API Grouping 7.2
Returns an index type for the given entity type.
Parameters
string $entity_type: An entity type.
Return value
string A search index type.
4 calls to search_api_grouping_get_type()
- search_api_grouping_entity_delete in ./
search_api_grouping.module - Implements hook_entity_delete().
- search_api_grouping_entity_insert in ./
search_api_grouping.module - Implements hook_entity_insert().
- search_api_grouping_entity_update in ./
search_api_grouping.module - Implements hook_entity_update().
- _search_api_grouping_index_immediatley_hijack in ./
search_api_grouping.module - Ensure the ids are adjusted if index immediately is enabled.
File
- ./
search_api_grouping.module, line 316 - Module search_api_grouping.
Code
function search_api_grouping_get_type($entity_type) {
return 'denormalized-' . $entity_type;
}