You are here

function apachesolr_multilingual_enable in Apache Solr Multilingual 6.3

Same name and namespace in other branches
  1. 7 apachesolr_multilingual.install \apachesolr_multilingual_enable()

Implements hook_enable().

Set variable "apachesolr_service_class" to "DrupalApacheSolrMultilingualService" to support multilingual spell checking.

1 call to apachesolr_multilingual_enable()
apachesolr_multilingual_update_6300 in ./apachesolr_multilingual.install
Set variable "apachesolr_service_class" to "DrupalApacheSolrMultilingualService" to support multilingual spell checking.

File

./apachesolr_multilingual.install, line 14
TODO

Code

function apachesolr_multilingual_enable() {
  $class_info = array(
    'file' => 'DrupalApacheSolrMultilingualService',
    'module' => 'apachesolr_multilingual',
    'class' => 'DrupalApacheSolrMultilingualService',
  );
  variable_set('apachesolr_service_class', $class_info);
}