You are here

function party_search_api_alter_callback_info in Party 7

Same name and namespace in other branches
  1. 8.2 party.module \party_search_api_alter_callback_info()

Implements hook_search_api_alter_callback_info().

File

./party.module, line 1698
Provides a generic CRM party entity.

Code

function party_search_api_alter_callback_info() {
  $callbacks['party_alter_status_filter'] = array(
    'name' => t('Status filter'),
    'description' => t('Exclude items from indexing based on their status and merging.'),
    'class' => 'PartyAlterStatusFilter',
    // Filters should be executed first.
    'weight' => -10,
  );
  return $callbacks;
}