25 string references to lock

AliasTest::testWhitelist in core/modules/path_alias/tests/src/Kernel/AliasTest.php
Tests the alias whitelist.
AliasTest::testWhitelistCacheDeletionMidRequest in core/modules/path_alias/tests/src/Kernel/AliasTest.php
Tests situation where the whitelist cache is deleted mid-request.
CacheCollectorTest::testCacheCollector in core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php
Tests setting and invalidating
CommentLockTest::testLocks in core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
Test the lock behavior.
ConfigImporterMissingContentTest::setUp in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php
ConfigImporterTest::setUp in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
ConfigImportRecreateTest::setUp in core/tests/Drupal/KernelTests/Core/Config/ConfigImportRecreateTest.php
ConfigTestTrait::configImporter in core/tests/Drupal/Tests/ConfigTestTrait.php
Returns a ConfigImporter object to import test configuration.
ConfigUninstallViaCliImportTest::setUp in core/modules/config/tests/src/Kernel/ConfigUninstallViaCliImportTest.php
ContentEntityNullStorageTest::testDeleteThroughImport in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNullStorageTest.php
Tests deleting a contact form entity via a configuration import.
ContentTranslationConfigImportTest::setUp in core/modules/content_translation/tests/src/Kernel/ContentTranslationConfigImportTest.php
CoreServiceProvider::alter in core/lib/Drupal/Core/CoreServiceProvider.php
Alters the UUID service to use the most efficient method available.
DrupalTest::testLock in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the lock() method.
FileUploadResource::create in core/modules/file/src/Plugin/rest/resource/FileUploadResource.php
Creates an instance of the plugin.
ImageStyleDownloadController::create in core/modules/image/src/Controller/ImageStyleDownloadController.php
Instantiates a new instance of this class.
InstallerServiceProvider::register in core/lib/Drupal/Core/Installer/InstallerServiceProvider.php
Registers services to the container.
KernelTestBase::containerBuild in core/modules/simpletest/src/KernelTestBase.php
Sets up the base service container for this test.
KernelTestBase::register in core/tests/Drupal/KernelTests/KernelTestBase.php
Registers test-specific services.
LanguageContentSettings::prepareRow in core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php
Adds additional data to the row.
LockFunctionalTest::testLockAcquire in core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php
Confirms that we can acquire and release locks in two parallel requests.
LockFunctionalTest::testLockAcquire in core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php
Confirms that we can acquire and release locks in two parallel requests.
OverriddenConfigImportTest::setUp in core/modules/language/tests/src/Kernel/OverriddenConfigImportTest.php
SystemTestController::create in core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php
Instantiates a new instance of this class.
ViewUI::__get in core/modules/views_ui/src/ViewUI.php
ViewUI::__set in core/modules/views_ui/src/ViewUI.php

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