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. 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
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.
olivero_preprocess_block function core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for block.html.twig.
olivero_theme_suggestions_block_alter function core/themes/olivero/olivero.theme Implements hook_theme_suggestions_HOOK_alter() for block().
OverriddenConfigurationTest::assertOverriddenBlockDisabled function core/modules/settings_tray/tests/src/FunctionalJavascript/OverriddenConfigurationTest.php Asserts that an overridden block has Settings Tray disabled.
OverriddenConfigurationTest::testOverriddenBlock function core/modules/settings_tray/tests/src/FunctionalJavascript/OverriddenConfigurationTest.php Tests that blocks with configuration overrides are disabled.
PageTitleBlock class core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php Provides a block to display the page title.
PageTitleBlock.php file core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php
PageTitleBlock::$title property core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php The page title: a string (plain title) or a render array (formatted title).
PageTitleBlock::build function core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php Builds and returns the renderable array for this block plugin.
PageTitleBlock::defaultConfiguration function core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php Gets default configuration for this plugin.
PageTitleBlock::setTitle function core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php Sets the title.
PersistentDatabaseLockBackend class core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php Defines the persistent database lock backend.
PersistentDatabaseLockBackend class core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Provides a proxy class for \Drupal\Core\Lock\PersistentDatabaseLockBackend.
PersistentDatabaseLockBackend.php file core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php
PersistentDatabaseLockBackend.php file core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php
PersistentDatabaseLockBackend::$container property core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php The service container.
PersistentDatabaseLockBackend::$drupalProxyOriginalServiceId property core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php The id of the original proxied service.
PersistentDatabaseLockBackend::$service property core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php The real proxied service, after it was lazy loaded.
PersistentDatabaseLockBackend::acquire function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Acquires a lock.
PersistentDatabaseLockBackend::getLockId function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Gets the unique page token for locks.
PersistentDatabaseLockBackend::lazyLoadItself function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Lazy loads the real service from the container.
PersistentDatabaseLockBackend::lockMayBeAvailable function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Checks if a lock is available for acquiring.
PersistentDatabaseLockBackend::release function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Releases the given lock.

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