function TestTestDatabase::getTestLock
Generates a unique lock ID for the test method.
Parameters
bool $create_lock: (optional) Whether or not to create a lock file. Defaults to FALSE.
Return value
int The unique lock ID for the test method.
Overrides TestDatabase::getTestLock
File
-
core/
tests/ Drupal/ Tests/ Core/ Test/ TestDatabaseTest.php, line 70
Class
- TestTestDatabase
- Stub class supports TestDatabaseTest::testConstructorNullPrefix().
Namespace
Drupal\Tests\Core\TestCode
protected function getTestLock($create_lock = FALSE) {
return 23;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.