Search for lock

  1. Search 7.x for lock
  2. Search 9.5.x for lock
  3. Search 8.9.x for lock
  4. Search 11.x for lock
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
lock service core/core.services.yml Drupal\Core\Lock\DatabaseLockBackend
Lock class core/lib/Drupal/Core/TempStore/Lock.php Provides a value object representing the lock from a TempStore.

All search results

Title Object type File name Summary
LockBackendInterface::release function core/lib/Drupal/Core/Lock/LockBackendInterface.php Releases the given lock.
LockBackendInterface::releaseAll function core/lib/Drupal/Core/Lock/LockBackendInterface.php Releases all locks for the given lock token identifier.
LockBackendInterface::wait function core/lib/Drupal/Core/Lock/LockBackendInterface.php Waits a short amount of time before a second lock acquire attempt.
LockFunctionalTest class core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php Confirm locking works between two separate requests.
LockFunctionalTest.php file core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php
LockFunctionalTest::$defaultTheme property core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php The theme to install as the default for testing.
LockFunctionalTest::$modules property core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php Modules to install.
LockFunctionalTest::testLockAcquire function core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php Confirms that we can acquire and release locks in two parallel requests.
LockFunctionalTest::testPersistentLock function core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php Tests that the persistent lock is persisted between requests.
Locking mechanisms group core/lib/Drupal/Core/Lock/LockBackendInterface.php Functions to coordinate long operations across requests.
LockTest class core/tests/Drupal/KernelTests/Core/Lock/LockTest.php Tests the Database lock backend.
LockTest.php file core/tests/Drupal/KernelTests/Core/Lock/LockTest.php
LockTest::$lock property core/tests/Drupal/KernelTests/Core/Lock/LockTest.php Database lock backend to test.
LockTest::setUp function core/tests/Drupal/KernelTests/Core/Lock/LockTest.php
LockTest::testBackendLockRelease function core/tests/Drupal/KernelTests/Core/Lock/LockTest.php Tests backend release functionality.
LockTest::testBackendLockReleaseAll function core/tests/Drupal/KernelTests/Core/Lock/LockTest.php Tests backend release functionality.
MainContentBlockPluginInterface interface core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php The interface for "main page content" blocks.
MainContentBlockPluginInterface.php file core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php
MainContentBlockPluginInterface::setMainContent function core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php Sets the main content render array.
ManageFieldsFunctionalTest::testLockedField function core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php Tests that Field UI respects locked fields.
Menu::$locked property core/modules/system/src/Entity/Menu.php The locked status of this menu.
Menu::isLocked function core/modules/system/src/Entity/Menu.php Determines if this menu is locked.
MenuAccessTest::testMenuBlockLinksAccessCheck function core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php Tests menu link for route with access check.
MenuAccessTest::testSystemAdminMenuBlockAccessCheck function core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php Test routes implementing _access_admin_menu_block_page.
MenuActiveTrailTest::$lock property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The mocked lock.
MenuBlockTest class core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php Tests SystemMenuBlock.
MenuBlockTest.php file core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php
MenuBlockTest::$menu property core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php The menu for testing.
MenuBlockTest::$modules property core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php Modules to install.
MenuBlockTest::setUp function core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php
MenuBlockTest::testOperationLinks function core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php Tests the editing links for SystemMenuBlock.
MenuCacheTagsTest::testMenuBlock function core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php Tests cache tags presence and invalidation of the Menu entity.
MenuInterface::isLocked function core/modules/system/src/MenuInterface.php Determines if this menu is locked.
MenuRouterRebuildSubscriber::$lock property core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php
MenuUiJavascriptTest::testBlockContextualLinks function core/modules/menu_ui/tests/src/FunctionalJavascript/MenuUiJavascriptTest.php Tests the contextual links on a menu block.
MenuUiTest::$blockPlacements property core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Array of placed menu blocks keyed by block ID.
MenuUiTest::doTestMenuBlock function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Tests menu block settings.
menu_ui_block_view_system_menu_block_alter function core/modules/menu_ui/menu_ui.module Implements hook_block_view_BASE_BLOCK_ID_alter() for 'system_menu_block'.
menu_ui_preprocess_block function core/modules/menu_ui/menu_ui.module Implements hook_preprocess_HOOK() for block templates.
MessagesBlockPluginInterface interface core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php The interface for "messages" (#type => status_messages) blocks.
MessagesBlockPluginInterface.php file core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php
MigrateBlockContentBodyFieldTest class core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php Attaches a body field to the block type.
MigrateBlockContentBodyFieldTest.php file core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php
MigrateBlockContentBodyFieldTest::$modules property core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php Modules to install.
MigrateBlockContentBodyFieldTest::setUp function core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php
MigrateBlockContentBodyFieldTest::testBlockContentBodyFieldMigration function core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php Tests the block content body field migration.
MigrateBlockContentEntityDisplayTest class core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentEntityDisplayTest.php Tests migration of block content body field display configuration.
MigrateBlockContentEntityDisplayTest.php file core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentEntityDisplayTest.php
MigrateBlockContentEntityDisplayTest::$modules property core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentEntityDisplayTest.php Modules to install.
MigrateBlockContentEntityDisplayTest::assertDisplay function core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentEntityDisplayTest.php Asserts a display entity.

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