EntityBundleFieldTest::$database
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php \Drupal\KernelTests\Core\Entity\EntityBundleFieldTest::database
- 8.9.x core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php \Drupal\KernelTests\Core\Entity\EntityBundleFieldTest::database
- 11.x core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php \Drupal\KernelTests\Core\Entity\EntityBundleFieldTest::database
The database connection used.
Type: \Drupal\Core\Database\Connection
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityBundleFieldTest.php, line 31
Class
- EntityBundleFieldTest
- Tests adding a custom bundle field.
Namespace
Drupal\KernelTests\Core\EntityCode
protected $database;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.