Search for lock

  1. Search 7.x for lock
  2. Search 9.5.x for lock
  3. Search 10.3.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
template_preprocess_block_content_add_list function core/modules/block_content/block_content.pages.inc Prepares variables for a custom block type creation list templates.
template_preprocess_book_all_books_block function core/modules/book/book.module Prepares variables for book listing block templates.
TemporaryJsonapiFileFieldUploader::$lock property core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php The lock service.
TemporaryJsonapiFileFieldUploader::generateLockIdFromFileUri function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Generates a lock ID based on the file URI.
TestAccessBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Provides a block to test access.
TestAccessBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php
TestAccessBlock::blockAccess function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Indicates whether the block should be shown.
TestAccessBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Builds and returns the renderable array for this block plugin.
TestAccessBlock::create function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Creates an instance of the plugin.
TestAccessBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php The maximum age for which this object may be cached.
TestAccessBlock::__construct function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Tests the test access block.
TestAjaxBlock class core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php Provides a 'TestAjax' block.
TestAjaxBlock.php file core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php
TestAjaxBlock::ajaxCallback function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php Ajax callback.
TestAjaxBlock::blockForm function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php
TestAjaxBlock::build function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php Builds and returns the renderable array for this block plugin.
TestBlockInstantiation class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php Provides a basic block for testing block instantiation and configuration.
TestBlockInstantiation.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
TestBlockInstantiation::blockAccess function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php Indicates whether the block should be shown.
TestBlockInstantiation::blockForm function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
TestBlockInstantiation::blockSubmit function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
TestBlockInstantiation::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php Builds and returns the renderable array for this block plugin.
TestBlockInstantiation::defaultConfiguration function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
TestBlockPluginWithRefinableDependentAccessInterface interface core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php Test interface for dependent access block plugins.
TestCacheBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php Provides a block to test caching.
TestCacheBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
TestCacheBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php Builds and returns the renderable array for this block plugin.
TestCacheBlock::getCacheContexts function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php The cache contexts associated with this object.
TestCacheBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php The maximum age for which this object may be cached.
TestContextAwareBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php Provides a context-aware block.
TestContextAwareBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php
TestContextAwareBlock::blockAccess function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php Indicates whether the block should be shown.
TestContextAwareBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php Builds and returns the renderable array for this block plugin.
TestContextAwareBlockInterface interface core/modules/block/tests/src/Unit/BlockRepositoryTest.php
TestContextAwareNoValidContextOptionsBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareNoValidContextOptionsBlock.php Provides a context-aware block that uses a not-passed, non-required context.
TestContextAwareNoValidContextOptionsBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareNoValidContextOptionsBlock.php
TestContextAwareNoValidContextOptionsBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareNoValidContextOptionsBlock.php Builds and returns the renderable array for this block plugin.
TestContextAwareUnsatisfiedBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareUnsatisfiedBlock.php Provides a context-aware block.
TestContextAwareUnsatisfiedBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareUnsatisfiedBlock.php
TestContextAwareUnsatisfiedBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareUnsatisfiedBlock.php Builds and returns the renderable array for this block plugin.
TestDatabase::$lockId property core/lib/Drupal/Core/Test/TestDatabase.php A random number used to ensure that test fixtures are unique to each test
method.
TestDatabase::getLockFile function core/lib/Drupal/Core/Test/TestDatabase.php Gets the lock file path.
TestDatabase::getTestLock function core/lib/Drupal/Core/Test/TestDatabase.php Generates a unique lock ID for the test method.
TestDatabase::releaseAllTestLocks function core/lib/Drupal/Core/Test/TestDatabase.php Releases all test locks.
TestDatabase::releaseLock function core/lib/Drupal/Core/Test/TestDatabase.php Releases a lock.
TestDiscoveryTest::testGetTestInfoEmptyDocblock function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Ensure that classes are not reflected when the docblock is empty.
TestFormApiFormBlock class core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Provides a block containing a Form API form for use in Layout Builder tests.
TestFormApiFormBlock.php file core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php
TestFormApiFormBlock::$formBuilder property core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php The form builder service.
TestFormApiFormBlock::build function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Builds and returns the renderable array for this block plugin.

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