@trigger_error('drupal_install_schema() is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/2970993',E_USER_DEPRECATED);
$schema=drupal_get_module_schema($module);
_drupal_schema_initialize($schema,$module,FALSE);
@@ -127,8 +134,15 @@ function drupal_install_schema($module) {
*
* @param string $module
* The module for which the tables will be removed.
*
* @deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct
@trigger_error('drupal_uninstall_schema() is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/2970993',E_USER_DEPRECATED);
$tables=drupal_get_module_schema($module);
_drupal_schema_initialize($tables,$module,FALSE);
$schema=\Drupal::database()->schema();
@@ -151,8 +165,16 @@ function drupal_uninstall_schema($module) {
* @param string $table
* The name of the table. If not given, the module's complete schema
* is returned.
*
* @deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct
* replacement is provided. Testing classes could use
* \Drupal\TestTools\Extension\SchemaInspector for introspection.
@trigger_error('drupal_get_module_schema() is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided. Testing classes could use \Drupal\TestTools\Extension\SchemaInspector for introspection. See https://www.drupal.org/node/2970993',E_USER_DEPRECATED);
@trigger_error('_drupal_schema_initialize() is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/2970993',E_USER_DEPRECATED);
@trigger_error('The database connection must be passed to '.__METHOD__.'(). Creating '.__CLASS__.' without it is deprecated in drupal:9.2.0 and will be required in drupal:10.0.0. See https://www.drupal.org/node/2970993',E_USER_DEPRECATED);
$connection=\Drupal::service('database');
}
$this->connection=$connection;
}
/**
@@ -227,7 +242,7 @@ public function install(array $module_list, $enable_dependencies = TRUE) {