Schema::$defaultSchema
Same name in this branch
- 8.9.x core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php \Drupal\Core\Database\Driver\sqlite\Schema::defaultSchema
Same name in other branches
- 9 core/modules/sqlite/src/Driver/Database/sqlite/Schema.php \Drupal\sqlite\Driver\Database\sqlite\Schema::defaultSchema
- 9 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::defaultSchema
- 10 core/modules/sqlite/src/Driver/Database/sqlite/Schema.php \Drupal\sqlite\Driver\Database\sqlite\Schema::defaultSchema
- 10 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::defaultSchema
- 11.x core/modules/sqlite/src/Driver/Database/sqlite/Schema.php \Drupal\sqlite\Driver\Database\sqlite\Schema::defaultSchema
- 11.x 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\DatabaseCode
protected $defaultSchema = 'public';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.