public function SearchApiAlterLanguageControl::supportsIndex in Search API 7
Overrides SearchApiAbstractAlterCallback::supportsIndex().
Only returns TRUE if the system is multilingual.
Overrides SearchApiAbstractAlterCallback::supportsIndex
See also
File
- includes/
callback_language_control.inc, line 32 - Contains SearchApiAlterLanguageControl.
Class
- SearchApiAlterLanguageControl
- Search API data alteration callback that filters out items based on their bundle.
Code
public function supportsIndex(SearchApiIndex $index) {
return drupal_multilingual();
}