W3cubDocs

/Drupal 8

protected property 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.

See also

DatabaseSchema::getPrefixInfo()

File

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

Class

Schema
Provides a base implementation for Database Schema.

Namespace

Drupal\Core\Database

Code

protected $defaultSchema = 'public';

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Schema.php/property/Schema::defaultSchema/8.1.x