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 10.3.x for lock
  5. Search main for lock
  6. 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
NewDefaultThemeBlocksTest.php file core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php
NewDefaultThemeBlocksTest::$defaultTheme property core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php The default theme.
NewDefaultThemeBlocksTest::$modules property core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php Modules to install.
NewDefaultThemeBlocksTest::setUp function core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php
NewDefaultThemeBlocksTest::testBlockCollision function core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php Checks that a theme block is still created when same ID exists.
NewDefaultThemeBlocksTest::testNewDefaultThemeBlocks function core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php Check the blocks are correctly copied.
Node::blockDisplayOptions function core/modules/node/src/Plugin/views/wizard/Node.php Retrieves the block display options.
NodeBlockFunctionalTest class core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php Tests node block functionality.
NodeBlockFunctionalTest.php file core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
NodeBlockFunctionalTest::$adminUser property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php An administrative user for testing.
NodeBlockFunctionalTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php The theme to install as the default for testing.
NodeBlockFunctionalTest::$modules property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php Modules to install.
NodeBlockFunctionalTest::$webUser property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php An unprivileged user for testing.
NodeBlockFunctionalTest::setUp function core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
NodeBlockFunctionalTest::testRecentNodeBlock function core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php Tests the recent comments block.
NodeBlockHooks class core/modules/node/src/Hook/NodeBlockHooks.php Block hook implementations for node.
NodeBlockHooks.php file core/modules/node/src/Hook/NodeBlockHooks.php
NodeBlockHooks::blockAlter function core/modules/node/src/Hook/NodeBlockHooks.php Implements hook_block_alter().
NodeContextTestBlock class core/modules/node/tests/modules/node_block_test/src/Plugin/Block/NodeContextTestBlock.php Provides a 'Node Context Test' block.
NodeContextTestBlock.php file core/modules/node/tests/modules/node_block_test/src/Plugin/Block/NodeContextTestBlock.php
NodeContextTestBlock::build function core/modules/node/tests/modules/node_block_test/src/Plugin/Block/NodeContextTestBlock.php Builds and returns the renderable array for this block plugin.
NodeSyndicateBlockTest class core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php Tests if the syndicate block is available.
NodeSyndicateBlockTest.php file core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php
NodeSyndicateBlockTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php The theme to install as the default for testing.
NodeSyndicateBlockTest::$modules property core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php Modules to install.
NodeSyndicateBlockTest::setUp function core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php
NodeSyndicateBlockTest::testSyndicateBlock function core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php Tests that the "Syndicate" block is shown when enabled.
NodeThemeHooks::preprocessBlock function core/modules/node/src/Hook/NodeThemeHooks.php Implements hook_preprocess_HOOK() for block templates.
NodeType::isLocked function core/modules/node/src/Entity/NodeType.php Determines whether the node type is locked.
NodeTypeInterface::isLocked function core/modules/node/src/NodeTypeInterface.php Determines whether the node type is locked.
NodeUserHooks::userCancelBlockUnpublish function core/modules/node/src/Hook/NodeUserHooks.php Implements hook_user_cancel().
node_block_test.info.yml file core/modules/node/tests/modules/node_block_test/node_block_test.info.yml core/modules/node/tests/modules/node_block_test/node_block_test.info.yml
NonDefaultBlockAdminTest class core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php Tests the block administration page for a non-default theme.
NonDefaultBlockAdminTest.php file core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
NonDefaultBlockAdminTest::$defaultTheme property core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php The theme to install as the default for testing.
NonDefaultBlockAdminTest::$modules property core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php Modules to install.
NonDefaultBlockAdminTest::setUp function core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
NonDefaultBlockAdminTest::testNonDefaultBlockAdmin function core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php Tests non-default theme admin.
NoOpStager::setLockFileShouldChange function core/modules/package_manager/tests/modules/package_manager_bypass/src/NoOpStager.php Sets whether ::stage() should simulate a change in the lock file.
NullLockBackend class core/lib/Drupal/Core/Lock/NullLockBackend.php Defines a Null lock backend.
NullLockBackend.php file core/lib/Drupal/Core/Lock/NullLockBackend.php
NullLockBackend::$lockId property core/lib/Drupal/Core/Lock/NullLockBackend.php Current page lock token identifier.
NullLockBackend::acquire function core/lib/Drupal/Core/Lock/NullLockBackend.php Acquires a lock.
NullLockBackend::getLockId function core/lib/Drupal/Core/Lock/NullLockBackend.php Gets the unique page token for locks.
NullLockBackend::lockMayBeAvailable function core/lib/Drupal/Core/Lock/NullLockBackend.php Checks if a lock is available for acquiring.
NullLockBackend::release function core/lib/Drupal/Core/Lock/NullLockBackend.php Releases the given lock.
NullLockBackend::releaseAll function core/lib/Drupal/Core/Lock/NullLockBackend.php Releases all locks for the given lock token identifier.
NullLockBackend::wait function core/lib/Drupal/Core/Lock/NullLockBackend.php Waits a short amount of time before a second lock acquire attempt.
OEmbedTestTrait::lockHttpClientToFixtures function core/modules/media/tests/src/Traits/OEmbedTestTrait.php Configures the HTTP client to always use the fixtures directory.
OliveroTest::testPreprocessBlock function core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php Tests that olivero_preprocess_block is functioning as expected.

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