You are here

Deprecated in Drupal 10

Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Namesort descending Location Type Deprecation Direct uses Namespaced uses Overrides Use statements
Connection core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. 1
Connection core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module. 1
Connection core/lib/Drupal/Core/Database/Driver/mysql/Connection.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. 1
Database::RETURN_AFFECTED core/lib/Drupal/Core/Database/Database.php constant in drupal:9.4.0 and is removed from drupal:11.0.0. There is no replacement. 9
Database::RETURN_INSERT_ID core/lib/Drupal/Core/Database/Database.php constant in drupal:9.4.0 and is removed from drupal:11.0.0. There is no replacement. 5
Database::RETURN_NULL core/lib/Drupal/Core/Database/Database.php constant in drupal:9.4.0 and is removed from drupal:11.0.0. There is no replacement.
Database::RETURN_STATEMENT core/lib/Drupal/Core/Database/Database.php constant in drupal:9.4.0 and is removed from drupal:11.0.0. There is no replacement.
db_installer_object core/includes/install.inc function in drupal:10.0.0 and is removed from drupal:11.0.0. There is no replacement. 1
Delete core/lib/Drupal/Core/Database/Driver/pgsql/Delete.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module. 1
deprecation_test_function core/modules/system/tests/modules/deprecation_test/deprecation_test.module function in drupal:8.4.0 and is removed from drupal:9.0.0. This is the deprecation message for deprecated_test_function(). 2
ExceptionHandler core/lib/Drupal/Core/Database/Driver/mysql/ExceptionHandler.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. 1
Insert core/lib/Drupal/Core/Database/Driver/sqlite/Insert.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. 1
Insert core/lib/Drupal/Core/Database/Driver/pgsql/Insert.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module. 1
Insert core/lib/Drupal/Core/Database/Driver/mysql/Insert.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. 1
module_load_include core/includes/module.inc function in drupal:9.4.0 and is removed from drupal:11.0.0. Use \Drupal::moduleHandler()->loadInclude($module, $type, $name = NULL). Note that including code from uninstalled extensions is no longer supported. 1
RequestStack core/lib/Drupal/Core/Http/RequestStack.php class in drupal:10.0.0 and is removed from drupal:11.0.0. There is no replacement. 1
REQUEST_TIME core/includes/bootstrap.inc constant in drupal:8.3.0 and is removed from drupal:10.0.0. Use \Drupal::time()->getRequestTime(); 138
Schema core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. 1
Schema core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module. 1
Schema core/lib/Drupal/Core/Database/Driver/mysql/Schema.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. 1
Select core/lib/Drupal/Core/Database/Driver/sqlite/Select.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. 1
Select core/lib/Drupal/Core/Database/Driver/pgsql/Select.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module. 1
Statement core/lib/Drupal/Core/Database/Driver/sqlite/Statement.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. 1
Tasks core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. 1
Tasks core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module. 1
Tasks core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. 1
TranslationWrapper core/lib/Drupal/Core/StringTranslation/TranslationWrapper.php class in drupal:8.0.0 and is removed from drupal:11.0.0. Use the \Drupal\Core\StringTranslation\TranslatableMarkup class instead. 1
Truncate core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. 1
Truncate core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module. 1
Update core/lib/Drupal/Core/Database/Driver/pgsql/Update.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module. 1
Upsert core/lib/Drupal/Core/Database/Driver/sqlite/Upsert.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. 1
Upsert core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module. 1
Upsert core/lib/Drupal/Core/Database/Driver/mysql/Upsert.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. 1

Other projects