Loading core/lib/Drupal/Core/Updater/Module.php +6 −0 Original line number Diff line number Diff line Loading @@ -80,8 +80,14 @@ public static function canUpdate($project_name) { * Returns available database schema updates once a new version is installed. * * @return array * * @deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use * \Drupal\Core\Update\UpdateHookRegistry::getAvailableUpdates() instead. * * @see https://www.drupal.org/node/3359445 */ public function getSchemaUpdates() { @trigger_error(__METHOD__ . "() is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Update\UpdateHookRegistry::getAvailableUpdates() instead. https://www.drupal.org/node/3359445", E_USER_DEPRECATED); require_once DRUPAL_ROOT . '/core/includes/install.inc'; require_once DRUPAL_ROOT . '/core/includes/update.inc'; Loading Loading
core/lib/Drupal/Core/Updater/Module.php +6 −0 Original line number Diff line number Diff line Loading @@ -80,8 +80,14 @@ public static function canUpdate($project_name) { * Returns available database schema updates once a new version is installed. * * @return array * * @deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use * \Drupal\Core\Update\UpdateHookRegistry::getAvailableUpdates() instead. * * @see https://www.drupal.org/node/3359445 */ public function getSchemaUpdates() { @trigger_error(__METHOD__ . "() is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Update\UpdateHookRegistry::getAvailableUpdates() instead. https://www.drupal.org/node/3359445", E_USER_DEPRECATED); require_once DRUPAL_ROOT . '/core/includes/install.inc'; require_once DRUPAL_ROOT . '/core/includes/update.inc'; Loading