Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. system.install

function system_update_11102

Equivalent update to 10400.

File

core/modules/system/system.install, line 1752

Code

function system_update_11102() : TranslatableMarkup|null {
    // This is a no-op that exists to prevent an upgrade from 10.4+ to 11.0. That
    // path is actually a downgrade.
    $equivalent_update = \Drupal::service('update.update_hook_registry')->getEquivalentUpdate();
    if ($equivalent_update instanceof EquivalentUpdate) {
        return $equivalent_update->toSkipMessage();
    }
    return NULL;
}
RSS feed
Powered by Drupal