Commit 9cb2f60a authored by catch's avatar catch
Browse files

task: #3561087 Add equivalent updates hook to prevent downgrades from 10.6 to 11.2

By: catch
By: godotislate
By: xjm
By: dww
By: quietone
parent b8fad3b8
Loading
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1952,3 +1952,12 @@ function system_update_10400(): void {
  // path is actually a downgrade.
  \Drupal::service('update.update_hook_registry')->markFutureUpdateEquivalent(11102, '11.1.0');
}

/**
 * Equivalent update to 11300.
 */
function system_update_10600(): void {
  // This is a no-op that exists to prevent an upgrade from 10.6+ to 11.2. That
  // path is actually a downgrade.
  \Drupal::service('update.update_hook_registry')->markFutureUpdateEquivalent(11300, '11.3.0');
}