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
FieldStorageConfigInterface::setLocked function core/modules/field/src/FieldStorageConfigInterface.php Sets the locked flag.
FileUploadHandler::generateLockId function core/modules/file/src/Upload/FileUploadHandler.php Generates a lock ID based on the file URI.
FileUploadHandlerTest::testLockAcquireException function core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php Test the lock acquire exception.
FileUploadResource::generateLockIdFromFileUri function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Generates a lock ID based on the file URI.
FixtureManipulator::updateLock function core/modules/package_manager/tests/modules/fixture_manipulator/src/FixtureManipulator.php
Fixtures::composerLock function core/tests/Drupal/Tests/Composer/Generator/Fixtures.php Data for a composer.lock fixture.
footer-block.component.yml file core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.component.yml core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.component.yml
footer-block.css file core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.css .footer-block {
font-size: 0.9rem;
}

.footer-block__link {
color: #fff;
background-color: inherit;
font-weight: 700;
}

.footer-block__link::after {
display: inline-block;
width: 14px;
height: 14px;
content: "";
footer-block.twig file core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.twig <div{{ attributes.addClass('footer-block') }}>
<div class="footer-block__wrapper">
{% block image %}
{% if image %}
<div class="footer-block__media">
{{~ image ~}}
form--search-block-form.html.twig file core/themes/olivero/templates/form--search-block-form.html.twig Theme override for a 'form' element.
FormTestHooks::blockFormFormTestAlterFormAlter function core/modules/system/tests/modules/form_test/src/Hook/FormTestHooks.php Implements hook_form_FORM_ID_alter().
HelpBlock class core/modules/help/src/Plugin/Block/HelpBlock.php Provides a 'Help' block.
HelpBlock.php file core/modules/help/src/Plugin/Block/HelpBlock.php
HelpBlock::$moduleHandler property core/modules/help/src/Plugin/Block/HelpBlock.php The module handler.
HelpBlock::$request property core/modules/help/src/Plugin/Block/HelpBlock.php The current request.
HelpBlock::$routeMatch property core/modules/help/src/Plugin/Block/HelpBlock.php The current route match.
HelpBlock::build function core/modules/help/src/Plugin/Block/HelpBlock.php Builds and returns the renderable array for this block plugin.
HelpBlock::create function core/modules/help/src/Plugin/Block/HelpBlock.php Creates an instance of the plugin.
HelpBlock::getCacheContexts function core/modules/help/src/Plugin/Block/HelpBlock.php
HelpBlock::__construct function core/modules/help/src/Plugin/Block/HelpBlock.php Creates a HelpBlock instance.
HelpBlockTest class core/modules/help/tests/src/Functional/HelpBlockTest.php Tests display of help block.
HelpBlockTest.php file core/modules/help/tests/src/Functional/HelpBlockTest.php
HelpBlockTest::$defaultTheme property core/modules/help/tests/src/Functional/HelpBlockTest.php The theme to install as the default for testing.
HelpBlockTest::$helpBlock property core/modules/help/tests/src/Functional/HelpBlockTest.php The help block instance.
HelpBlockTest::$modules property core/modules/help/tests/src/Functional/HelpBlockTest.php Modules to install.
HelpBlockTest::setUp function core/modules/help/tests/src/Functional/HelpBlockTest.php
HelpBlockTest::testHelp function core/modules/help/tests/src/Functional/HelpBlockTest.php Logs in users, tests help pages.
HelpHooks::blockViewHelpBlockAlter function core/modules/help/src/Hook/HelpHooks.php Implements hook_block_view_BASE_BLOCK_ID_alter().
HelpThemeHooks::preprocessBlock function core/modules/help/src/Hook/HelpThemeHooks.php Implements hook_preprocess_HOOK() for block templates.
hook_block_access function core/modules/block/block.api.php Control access to a block instance.
hook_block_alter function core/modules/block/block.api.php Allow modules to alter the block plugin definitions.
hook_block_build_alter function core/modules/block/block.api.php Alter the result of \Drupal\Core\Block\BlockBase::build().
hook_block_build_BASE_BLOCK_ID_alter function core/modules/block/block.api.php Provide a block plugin specific block_build alteration.
hook_block_view_alter function core/modules/block/block.api.php Alter the result of \Drupal\Core\Block\BlockBase::build().
hook_block_view_BASE_BLOCK_ID_alter function core/modules/block/block.api.php Provide a block plugin specific block_view alteration.
HtmlResponseAttachmentsTest::testRenderCachedBlock function core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Tests caching of ['#attached'].
HtmlToTextTest::testDrupalHtmlToTextBlockTagToNewline function core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php Tests the conversion of block-level HTML tags to plaintext with newlines.
ImageStyleDownloadController::$lock property core/modules/image/src/Controller/ImageStyleDownloadController.php The lock backend.
ImageUploadTest::testLockAfterFailedValidation function core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php Test that lock is removed after a failed validation.
ImportStorageTransformer::$persistentLock property core/lib/Drupal/Core/Config/ImportStorageTransformer.php The persistent lock which the config importer uses across requests.
ImportStorageTransformer::$requestLock property core/lib/Drupal/Core/Config/ImportStorageTransformer.php The normal lock for the duration of the request.
ImportStorageTransformer::LOCK_NAME constant core/lib/Drupal/Core/Config/ImportStorageTransformer.php The name used to identify the lock.
ImportStorageTransformerTest::testTransformLocked function core/tests/Drupal/KernelTests/Core/Config/ImportStorageTransformerTest.php Tests that the import transformer throws an exception.
InlineBlock class core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Defines an inline block plugin type.
InlineBlock.php file core/modules/layout_builder/src/Plugin/Block/InlineBlock.php
InlineBlock::$blockContent property core/modules/layout_builder/src/Plugin/Block/InlineBlock.php The block content entity.
InlineBlock::$currentUser property core/modules/layout_builder/src/Plugin/Block/InlineBlock.php The current user.
InlineBlock::$entityDisplayRepository property core/modules/layout_builder/src/Plugin/Block/InlineBlock.php The entity display repository.
InlineBlock::$entityTypeManager property core/modules/layout_builder/src/Plugin/Block/InlineBlock.php The entity type manager.
InlineBlock::$isNew property core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Whether a new block is being created.

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