10 calls to Drupal::lock() in Drupal 10
- Comment::preSave in core/
modules/ comment/ src/ Entity/ Comment.php - Comment::releaseThreadLock in core/
modules/ comment/ src/ Entity/ Comment.php - Release the lock acquired for the thread in preSave().
- DrupalTest::testLock in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the lock() method.
- 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.
- Stable9TemplateOverrideTest::testStable9TemplateOverrides in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ Stable9TemplateOverrideTest.php - Ensures that Stable 9 overrides all relevant core templates.
- StableTemplateOverrideTest::testStableTemplateOverrides in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ StableTemplateOverrideTest.php - Ensures that Stable overrides all relevant core templates.