Search for lock
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| lock | service | core/ |
Drupal\Core\Lock\DatabaseLockBackend |
| Lock | class | core/ |
Provides a value object representing the lock from a TempStore. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| LockBackendAbstract.php | file | core/ |
|
| LockBackendAbstract::$lockId | property | core/ |
Current page lock token identifier. |
| LockBackendAbstract::$locks | property | core/ |
Existing locks for this page. |
| LockBackendAbstract::getLockId | function | core/ |
Gets the unique page token for locks. |
| LockBackendAbstract::wait | function | core/ |
Waits a short amount of time before a second lock acquire attempt. |
| LockBackendAbstractTest | class | core/ |
@coversDefaultClass \Drupal\Tests\Core\Lock\LockBackendAbstractTest[[api-linebreak]] @group Lock |
| LockBackendAbstractTest.php | file | core/ |
|
| LockBackendAbstractTest::$lock | property | core/ |
The Mocked LockBackendAbstract object. |
| LockBackendAbstractTest::setUp | function | core/ |
|
| LockBackendAbstractTest::testGetLockId | function | core/ |
Test the getLockId() method. |
| LockBackendAbstractTest::testWaitFalse | function | core/ |
Tests the wait() method when lockMayBeAvailable() returns TRUE. |
| LockBackendAbstractTest::testWaitTrue | function | core/ |
Tests the wait() method when lockMayBeAvailable() returns FALSE. |
| LockBackendInterface | interface | core/ |
Lock backend interface. |
| LockBackendInterface.php | file | core/ |
|
| LockBackendInterface::acquire | function | core/ |
Acquires a lock. |
| LockBackendInterface::getLockId | function | core/ |
Gets the unique page token for locks. |
| LockBackendInterface::lockMayBeAvailable | function | core/ |
Checks if a lock is available for acquiring. |
| LockBackendInterface::release | function | core/ |
Releases the given lock. |
| LockBackendInterface::releaseAll | function | core/ |
Releases all locks for the given lock token identifier. |
| LockBackendInterface::wait | function | core/ |
Waits a short amount of time before a second lock acquire attempt. |
| LockFunctionalTest | class | core/ |
Confirm locking works between two separate requests. |
| LockFunctionalTest.php | file | core/ |
|
| LockFunctionalTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| LockFunctionalTest::$modules | property | core/ |
Modules to enable. |
| LockFunctionalTest::testLockAcquire | function | core/ |
Confirms that we can acquire and release locks in two parallel requests. |
| LockFunctionalTest::testPersistentLock | function | core/ |
Tests that the persistent lock is persisted between requests. |
| Locking mechanisms | group | core/ |
Functions to coordinate long operations across requests. |
| LockTest | class | core/ |
Tests the Database lock backend. |
| LockTest.php | file | core/ |
|
| LockTest::$lock | property | core/ |
Database lock backend to test. |
| LockTest::setUp | function | core/ |
|
| LockTest::testBackendLockRelease | function | core/ |
Tests backend release functionality. |
| LockTest::testBackendLockReleaseAll | function | core/ |
Tests backend release functionality. |
| MainContentBlockPluginInterface | interface | core/ |
The interface for "main page content" blocks. |
| MainContentBlockPluginInterface.php | file | core/ |
|
| MainContentBlockPluginInterface::setMainContent | function | core/ |
Sets the main content render array. |
| ManageFieldsFunctionalTest::testLockedField | function | core/ |
Tests that Field UI respects locked fields. |
| Menu::$locked | property | core/ |
The locked status of this menu. |
| Menu::isLocked | function | core/ |
Determines if this menu is locked. |
| MenuAccessTest::testMenuBlockLinksAccessCheck | function | core/ |
Tests menu link for route with access check. |
| MenuActiveTrailTest::$lock | property | core/ |
The mocked lock. |
| MenuBlockPostUpdateTest | class | core/ |
Tests updating menu blocks configuration. |
| MenuBlockPostUpdateTest.php | file | core/ |
|
| MenuBlockPostUpdateTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| MenuBlockPostUpdateTest::setDatabaseDumpFiles | function | core/ |
Set database dump files to be used. |
| MenuBlockPostUpdateTest::testPostUpdateMenuBlockFields | function | core/ |
Tests updating blocks with default 'expand_all_items' value. |
| MenuCacheTagsTest::testMenuBlock | function | core/ |
Tests cache tags presence and invalidation of the Menu entity. |
| MenuInterface::isLocked | function | core/ |
Determines if this menu is locked. |
| MenuRouterRebuildSubscriber::$lock | property | core/ |
|
| MenuUiJavascriptTest::testBlockContextualLinks | function | core/ |
Tests the contextual links on a menu block. |
Pagination
- Previous page
- Page 48
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.