SqlContentEntityStorageSchema::$database

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::database
  2. 10 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::database
  3. 11.x core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::database

The database connection to be used.

Type: \Drupal\Core\Database\Connection

File

core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 90

Class

SqlContentEntityStorageSchema
Defines a schema handler that supports revisionable, translatable entities.

Namespace

Drupal\Core\Entity\Sql

Code

protected $database;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.