Connection::$prefixes

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::prefixes
  2. 8.9.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::prefixes

The prefixes used by this database connection.

Type: array

Deprecated

in drupal:10.0.0 and is removed from drupal:11.0.0. There is no replacement.

See also

https://www.drupal.org/node/3257198

File

core/lib/Drupal/Core/Database/Connection.php, line 147

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

protected $prefixes = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.