Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Schema.php

Schema::$defaultSchema

Same name in this branch
  1. 11.1.x core/modules/sqlite/src/Driver/Database/sqlite/Schema.php \Drupal\sqlite\Driver\Database\sqlite\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';
RSS feed
Powered by Drupal