function StubLockBackendAbstract::acquire
Overrides LockBackendInterface::acquire
File
-
core/
tests/ Drupal/ Tests/ Core/ Lock/ StubLockBackendAbstract.php, line 17
Class
- StubLockBackendAbstract
- A stub of the abstract LockBackendAbstract class for testing purposes.
Namespace
Drupal\Tests\Core\LockCode
public function acquire($name, $timeout = 30.0) : bool {
return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.