10 calls to Drupal::lock()

DrupalTest::testLock in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the lock() method.
RegistryLegacyTest::testMultipleSubThemes in core/tests/Drupal/KernelTests/Core/Theme/RegistryLegacyTest.php
Tests the theme registry with theme functions and multiple subthemes.
RegistryLegacyTest::testSuggestionPreprocessFunctions in core/tests/Drupal/KernelTests/Core/Theme/RegistryLegacyTest.php
Tests the theme registry with theme functions with suggestions.
RegistryTest::testMultipleSubThemes in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests the theme registry with multiple subthemes.
RegistryTest::testRaceCondition in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests the behavior of the theme registry class.
RegistryTest::testSuggestionPreprocessFunctions in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests the theme registry with suggestions.
RegistryTest::testThemeRegistryAlterByTheme in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests that the theme registry can be altered by themes.
RegistryTest::testThemeTemplatesRegisteredByModules in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests theme-provided templates that are registered by modules.
StableTemplateOverrideTest::testStableTemplateOverrides in core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php
Ensures that Stable overrides all relevant core templates.
ThemesNotUsingClassyTemplatesTest::testThemesTemplatesNotClassy in core/tests/Drupal/KernelTests/Core/Theme/ThemesNotUsingClassyTemplatesTest.php
Ensures that themes are not inheriting templates from Classy.

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