You are here

protected property Schema::$defaultSchema in Drupal 10

Same name in this branch
  1. 10 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::defaultSchema
  2. 10 core/modules/sqlite/src/Driver/Database/sqlite/Schema.php \Drupal\sqlite\Driver\Database\sqlite\Schema::defaultSchema
Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::defaultSchema
  2. 9 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::defaultSchema

Definition of prefixInfo array structure.

Rather than redefining DatabaseSchema::getPrefixInfo() for each driver, by defining the defaultSchema variable only MySQL has to re-write the method.

Type: string

See also

DatabaseSchema::getPrefixInfo()

File

core/lib/Drupal/Core/Database/Schema.php, line 37

Class

Schema
Provides a base implementation for Database Schema.

Namespace

Drupal\Core\Database

Code

protected $defaultSchema = 'public';