function TestTestDatabase::getTestLock

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php \Drupal\Tests\Core\Test\TestTestDatabase::getTestLock()
  2. 8.9.x core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php \Drupal\Tests\Core\Test\TestTestDatabase::getTestLock()
  3. 11.x core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php \Drupal\Tests\Core\Test\TestTestDatabase::getTestLock()

Overrides TestDatabase::getTestLock

File

core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php, line 78

Class

TestTestDatabase
Stub class supports TestDatabaseTest::testConstructorNullPrefix().

Namespace

Drupal\Tests\Core\Test

Code

protected function getTestLock(bool $create_lock = FALSE) : int {
    return 23;
}

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