EntitySchemaTest::$database

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php \Drupal\KernelTests\Core\Entity\EntitySchemaTest::database
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php \Drupal\KernelTests\Core\Entity\EntitySchemaTest::database
  3. 10 core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php \Drupal\KernelTests\Core\Entity\EntitySchemaTest::database

The database connection used.

Type: \Drupal\Core\Database\Connection

File

core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php, line 33

Class

EntitySchemaTest
Tests the default entity storage schema handler.

Namespace

Drupal\KernelTests\Core\Entity

Code

protected $database;

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