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
TestFormApiFormBlock::buildForm function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Form constructor.
TestFormApiFormBlock::create function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Creates an instance of the plugin.
TestFormApiFormBlock::getFormId function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Returns a unique string identifying the form.
TestFormApiFormBlock::submitForm function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Form submission handler.
TestFormApiFormBlock::validateForm function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Form validation handler.
TestFormApiFormBlock::__construct function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php TestFormApiFormBlock constructor.
TestFormBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestFormBlock.php Provides a block to test caching.
TestFormBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestFormBlock.php
TestFormBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestFormBlock.php Builds and returns the renderable array for this block plugin.
TestHtmlBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestHtmlBlock.php Provides a block to test HTML.
TestHtmlBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestHtmlBlock.php
TestHtmlBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestHtmlBlock.php Builds and returns the renderable array for this block plugin.
TestInlineTemplateFormBlock class core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestInlineTemplateFormBlock.php Provides a block containing inline template with <form> tag.
TestInlineTemplateFormBlock.php file core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestInlineTemplateFormBlock.php
TestInlineTemplateFormBlock::build function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestInlineTemplateFormBlock.php Builds and returns the renderable array for this block plugin.
TestMultipleFormsBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestMultipleFormsBlock.php Provides a block with multiple forms.
TestMultipleFormsBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestMultipleFormsBlock.php
TestMultipleFormsBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestMultipleFormsBlock.php Builds and returns the renderable array for this block plugin.
TestSettingsValidationBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php Provides a test settings validation block.
TestSettingsValidationBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
TestSettingsValidationBlock::blockForm function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
TestSettingsValidationBlock::blockValidate function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
TestSettingsValidationBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php Builds and returns the renderable array for this block plugin.
TestSiteApplicationTest::getTestLockFile function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php Gets the lock file path.
TestSiteReleaseLocksCommand class core/tests/Drupal/TestSite/Commands/TestSiteReleaseLocksCommand.php Command to release all test site database prefix locks.
TestSiteReleaseLocksCommand.php file core/tests/Drupal/TestSite/Commands/TestSiteReleaseLocksCommand.php
TestSiteReleaseLocksCommand::configure function core/tests/Drupal/TestSite/Commands/TestSiteReleaseLocksCommand.php
TestSiteReleaseLocksCommand::execute function core/tests/Drupal/TestSite/Commands/TestSiteReleaseLocksCommand.php
TestTestDatabase::getTestLock function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php Generates a unique lock ID for the test method.
TestXSSTitleBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestXSSTitleBlock.php Provides a block to test XSS in title.
TestXSSTitleBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestXSSTitleBlock.php
theme.negotiator.block.admin_demo service core/modules/block/block.services.yml Drupal\block\Theme\AdminDemoNegotiator
TitleBlockPluginInterface interface core/lib/Drupal/Core/Block/TitleBlockPluginInterface.php The interface for "title" blocks.
TitleBlockPluginInterface.php file core/lib/Drupal/Core/Block/TitleBlockPluginInterface.php
TitleBlockPluginInterface::setTitle function core/lib/Drupal/Core/Block/TitleBlockPluginInterface.php Sets the title.
TwigThemeTestController::transBlockRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Menu callback for testing translation blocks in a Twig template.
TypedDataStringBlock class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php Implementation of a String TypedData contextual block plugin used by Plugin
API context test.
TypedDataStringBlock.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php
TypedDataStringBlock::getTitle function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php
umami_form_search_block_form_alter function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_form_FORM_ID_alter().
umami_preprocess_block function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_block().
umami_theme_suggestions_block_alter function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_theme_suggestions_HOOK_alter() for block templates.
UnblockUser class core/modules/user/src/Plugin/Action/UnblockUser.php Unblocks a user.
UnblockUser.php file core/modules/user/src/Plugin/Action/UnblockUser.php
UnblockUser::access function core/modules/user/src/Plugin/Action/UnblockUser.php Checks object access.
UnblockUser::execute function core/modules/user/src/Plugin/Action/UnblockUser.php Executes the plugin.
UninstallDefaultContentTest::assertImportedCustomBlock function core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php Assert block content are imported.
UninstallDefaultContentTest::expectedBlocks function core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php Returns the expected properties of this profile's custom blocks.
UnitTestCase::getBlockMockWithMachineName function core/tests/Drupal/Tests/UnitTestCase.php Mocks a block with a block plugin.
UnitTestCaseDeprecationTest::testDeprecatedGetBlockMockWithMachineName function core/tests/Drupal/Tests/UnitTestCaseDeprecationTest.php @covers ::getBlockMockWithMachineName[[api-linebreak]]
@expectedDeprecation Drupal\Tests\UnitTestCase::getBlockMockWithMachineName is deprecated in Drupal 8.5.x, will be removed before Drupal 9.0.0. Unit test base classes should not have dependencies…

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