| LockBackendInterface::wait |
function |
core/lib/Drupal/Core/Lock/LockBackendInterface.php |
Waits a short amount of time before a second lock acquire attempt. |
| LockFileValidator |
class |
core/modules/package_manager/src/Validator/LockFileValidator.php |
Checks that the active lock file is unchanged during stage operations. |
| LockFileValidator.php |
file |
core/modules/package_manager/src/Validator/LockFileValidator.php |
|
| LockFileValidator::$keyValue |
property |
core/modules/package_manager/src/Validator/LockFileValidator.php |
The key-value store. |
| LockFileValidator::deleteHash |
function |
core/modules/package_manager/src/Validator/LockFileValidator.php |
Deletes the stored lock file hash. |
| LockFileValidator::getHash |
function |
core/modules/package_manager/src/Validator/LockFileValidator.php |
Returns the XXH64 hash of a file. |
| LockFileValidator::getSubscribedEvents |
function |
core/modules/package_manager/src/Validator/LockFileValidator.php |
|
| LockFileValidator::KEY |
constant |
core/modules/package_manager/src/Validator/LockFileValidator.php |
The key under which to store the hash of the active lock file. |
| LockFileValidator::storeHash |
function |
core/modules/package_manager/src/Validator/LockFileValidator.php |
Stores the XXH64 hash of the active lock file. |
| LockFileValidator::validate |
function |
core/modules/package_manager/src/Validator/LockFileValidator.php |
Checks that the active lock file is unchanged during stage operations. |
| LockFileValidator::__construct |
function |
core/modules/package_manager/src/Validator/LockFileValidator.php |
|
| LockFileValidatorTest |
class |
core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php |
Tests Drupal\package_manager\Validator\LockFileValidator. |
| LockFileValidatorTest.php |
file |
core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php |
|
| LockFileValidatorTest::$activeDir |
property |
core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php |
The path of the active directory in the test project. |
| LockFileValidatorTest::providerValidateStageEvents |
function |
core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php |
Data provider for test methods that validate the stage directory. |
| LockFileValidatorTest::register |
function |
core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php |
Registers test-specific services. |
| LockFileValidatorTest::setUp |
function |
core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php |
|
| LockFileValidatorTest::testApplyWithNoChange |
function |
core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php |
Tests validation when the staged and active lock files are identical. |
| LockFileValidatorTest::testCreateWithLock |
function |
core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php |
Tests that if an active lock file exists, a stage can be created. |
| LockFileValidatorTest::testCreateWithNoLock |
function |
core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php |
Tests that if no active lock file exists, a stage cannot be created. |
| LockFileValidatorTest::testLockFileChanged |
function |
core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php |
Tests validation when the lock file has changed. |
| LockFileValidatorTest::testLockFileDeleted |
function |
core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php |
Tests validation when the lock file is deleted. |
| LockFileValidatorTest::testNoStoredHash |
function |
core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php |
Tests exception when a stored hash of the active lock file is unavailable. |
| LockFileValidatorTest::testStatusCheckAvailableStage |
function |
core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php |
Tests StatusCheckEvent when the stage is available. |
| LockFunctionalTest |
class |
core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php |
Confirm locking works between two separate requests. |
| LockFunctionalTest.php |
file |
core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php |
|
| LockFunctionalTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php |
The theme to install as the default for testing. |
| LockFunctionalTest::$modules |
property |
core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php |
Modules to install. |
| LockFunctionalTest::testLockAcquire |
function |
core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php |
Confirms that we can acquire and release locks in two parallel requests. |
| LockFunctionalTest::testPersistentLock |
function |
core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php |
Tests that the persistent lock is persisted between requests. |
| Locking mechanisms |
group |
core/lib/Drupal/Core/Lock/LockBackendInterface.php |
Functions to coordinate long operations across requests. |
| LockTest |
class |
core/tests/Drupal/KernelTests/Core/Lock/LockTest.php |
Tests the Database lock backend. |
| LockTest.php |
file |
core/tests/Drupal/KernelTests/Core/Lock/LockTest.php |
|
| LockTest::$lock |
property |
core/tests/Drupal/KernelTests/Core/Lock/LockTest.php |
Database lock backend to test. |
| LockTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Lock/LockTest.php |
|
| LockTest::testBackendLockRelease |
function |
core/tests/Drupal/KernelTests/Core/Lock/LockTest.php |
Tests backend release functionality. |
| LockTest::testBackendLockReleaseAll |
function |
core/tests/Drupal/KernelTests/Core/Lock/LockTest.php |
Tests backend release functionality. |
| MainContentBlockPluginInterface |
interface |
core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php |
The interface for "main page content" blocks. |
| MainContentBlockPluginInterface.php |
file |
core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php |
|
| MainContentBlockPluginInterface::setMainContent |
function |
core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php |
Sets the main content render array. |
| ManageFieldsFunctionalTest::testLockedField |
function |
core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php |
Tests that Field UI respects locked fields. |
| Menu::$locked |
property |
core/modules/system/src/Entity/Menu.php |
The locked status of this menu. |
| Menu::isLocked |
function |
core/modules/system/src/Entity/Menu.php |
Determines if this menu is locked. |
| MenuAccessTest::testMenuBlockLinksAccessCheck |
function |
core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php |
Tests menu link for route with access check. |
| MenuAccessTest::testSystemAdminMenuBlockAccessCheck |
function |
core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php |
Test routes implementing _access_admin_menu_block_page. |
| MenuActiveTrailTest::$lock |
property |
core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php |
The mocked lock. |
| MenuBlockDepthTest |
class |
core/modules/block/tests/src/Functional/Update/MenuBlockDepthTest.php |
Tests update path for the `depth` setting of menu blocks. |
| MenuBlockDepthTest.php |
file |
core/modules/block/tests/src/Functional/Update/MenuBlockDepthTest.php |
|
| MenuBlockDepthTest::setDatabaseDumpFiles |
function |
core/modules/block/tests/src/Functional/Update/MenuBlockDepthTest.php |
Set database dump files to be used. |
| MenuBlockDepthTest::testUpdate |
function |
core/modules/block/tests/src/Functional/Update/MenuBlockDepthTest.php |
Tests that menu blocks with a `depth` setting of 0 are changed to NULL. |