You are here

function apachesolr_module_implements_alter in Apache Solr Search 8

Same name and namespace in other branches
  1. 7 apachesolr.module \apachesolr_module_implements_alter()

Implements hook_module_implements_alter().

File

./apachesolr.module, line 1834
Integration with the Apache Solr search application.

Code

function apachesolr_module_implements_alter(&$implementations, $hook) {

  // This module's hook_entity_info_alter() implementation should run last
  // since it needs to examine the list of bundles for each entity type, which
  // may have been changed in earlier hook_entity_info_alter() implementations
  // (for example, the File Entity module does this for file entities).
  if ($hook == 'entity_info_alter') {
    $group = $implementations['apachesolr'];
    unset($implementations['apachesolr']);
    $implementations['apachesolr'] = $group;
  }
}