21 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.
CKEditor5ImageController::create in core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php
Instantiates a new instance of this class.
CommentLockTest::testLocks in core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
Tests the lock behavior.
ConfigImporterMissingContentTest::setUp in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.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
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.
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.
NormalInstallerServiceProvider::register in core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php
Registers services to the container.
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.

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