function system_update_12001
Equivalent update to 11102.
File
-
core/
modules/ system/ system.install, line 67
Code
function system_update_12001() : TranslatableMarkup|null {
// This is a no-op that exists to prevent an upgrade from 11.4+ to 12.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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.