You are here

function webform_update_dependencies in Webform 6.x

Same name and namespace in other branches
  1. 8.5 includes/webform.install.update.inc \webform_update_dependencies()
  2. 7.4 webform.install \webform_update_dependencies()

Implements hook_update_dependencies().

File

includes/webform.install.update.inc, line 33
Archived Webform update hooks.

Code

function webform_update_dependencies() {

  // Ensure that system_update_8501() runs before the webform update, so that
  // the new revision_default field is installed in the correct table.
  // @see https://www.drupal.org/project/webform/issues/2958102
  $dependencies['webform'][8099]['system'] = 8501;

  // Ensure that system_update_8805() runs before the webform update, so that
  // the 'path_alias' module is enabled and configured correctly.
  // @see https://www.drupal.org/project/webform/issues/3166248
  $dependencies['webform']['8158']['system'] = 8805;
  return $dependencies;
}