Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TestDatabase.php

function TestDatabase::releaseLock

Releases a lock.

Return value

bool TRUE if successful, FALSE if not.

File

core/lib/Drupal/Core/Test/TestDatabase.php, line 115

Class

TestDatabase
Provides helper methods for interacting with the fixture database.

Namespace

Drupal\Core\Test

Code

public function releaseLock() : bool {
    return unlink($this->getLockFile($this->lockId));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal