public function TestDatabase::releaseLock in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::releaseLock()
- 10 core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::releaseLock()
Releases a lock.
Return value
bool TRUE if successful, FALSE if not.
File
- core/
lib/ Drupal/ Core/ Test/ TestDatabase.php, line 146
Class
- TestDatabase
- Provides helper methods for interacting with the fixture database.
Namespace
Drupal\Core\TestCode
public function releaseLock() {
return unlink($this
->getLockFile($this->lockId));
}