You are here

public function SearchApiAbstractAlterCallback::supportsIndex in Search API 7

Implements SearchApiAlterCallbackInterface::supportsIndex().

The default implementation always returns TRUE.

Overrides SearchApiAlterCallbackInterface::supportsIndex

10 methods override SearchApiAbstractAlterCallback::supportsIndex()
SearchApiAlterAddHierarchy::supportsIndex in includes/callback_add_hierarchy.inc
Overrides SearchApiAbstractAlterCallback::supportsIndex().
SearchApiAlterAddUserContent::supportsIndex in includes/callback_user_content.inc
Implements SearchApiAlterCallbackInterface::supportsIndex().
SearchApiAlterAddViewedEntity::supportsIndex in includes/callback_add_viewed_entity.inc
Only support indexes containing entities.
SearchApiAlterBundleFilter::supportsIndex in includes/callback_bundle_filter.inc
Implements SearchApiAlterCallbackInterface::supportsIndex().
SearchApiAlterFileEntityPublic::supportsIndex in includes/callback_file_entity_public.inc
Implements SearchApiAlterCallbackInterface::supportsIndex().

... See full list

File

includes/callback.inc, line 154
Contains base definitions for data alterations.

Class

SearchApiAbstractAlterCallback
Abstract base class for data-alter callbacks.

Code

public function supportsIndex(SearchApiIndex $index) {
  return TRUE;
}