Issue #3257201 by murilohp, ravi.shankar, beatrizrodrigues, daffie, mondrake:...
Issue #3257201 by murilohp, ravi.shankar, beatrizrodrigues, daffie, mondrake: Create the new method Drupal\Core\Database\Connection::getPrefix() and deprecate Drupal\Core\Database\Connection::prefixTable($table)
* Set the prefix used by this database connection.
*
@@ -428,8 +437,14 @@ public function quoteIdentifiers($sql) {
*
* @param string $table
* (optional) The table to find the prefix for.
*
* @deprecated in drupal:10.1.0 and is removed from drupal:11.0.0.
* Instead, you should just use Connection::getPrefix().
*
* @see https://www.drupal.org/node/3260849
*/
publicfunctiontablePrefix($table='default'){
@trigger_error(__METHOD__.'() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Instead, you should just use Connection::getPrefix(). See https://www.drupal.org/node/3260849',E_USER_DEPRECATED);
return$this->prefix;
}
@@ -460,7 +475,7 @@ public function getUnprefixedTablesMap() {