You are here

protected property Schema::$defaultSchema in Drupal 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::defaultSchema
  2. 8 core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php \Drupal\Core\Database\Driver\sqlite\Schema::defaultSchema
Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::defaultSchema
  2. 10 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';