TestDatabase::$lockId
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::lockId
- 10 core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::lockId
- 11.x core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::lockId
The test lock ID.
A random number used to ensure that test fixtures are unique to each test method.
Type: int
File
-
core/
lib/ Drupal/ Core/ Test/ TestDatabase.php, line 22
Class
- TestDatabase
- Provides helper methods for interacting with the fixture database.
Namespace
Drupal\Core\TestCode
protected $lockId;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.