You are here

function panopoly_search_update_dependencies in Panopoly Search 7

Implements hook_update_dependencies().

File

./panopoly_search.install, line 52
Installation file for Panopoly Search

Code

function panopoly_search_update_dependencies() {
  $deps = array();

  // We need panopoly_core_update_7002() to run before search_api_solr_update_7102().
  $deps['search_api_solr'][7102] = array(
    'panopoly_core' => 7002,
  );

  // We need to revert our servers/indexes only after these updates to
  // search_api_db and search_api_solr.
  $deps['panopoly_search'][7005] = array(
    'search_api' => 7116,
    'search_api_db' => 7104,
    'search_api_solr' => 7102,
  );
  return $deps;
}