25 calls to drupal_static_reset() in Drupal 9
- BookManagerDeprecationTest::testDrupalStaticResetDeprecation in core/
modules/ book/ tests/ src/ Kernel/ BookManagerDeprecationTest.php - @dataProvider providerTestDrupalStaticResetDeprecation
- drupal_flush_all_caches in core/
includes/ common.inc - Rebuilds the container, flushes all persistent caches, resets all variables, and rebuilds all data structures.
- FilterAPITest::testDependencyRemoval in core/
modules/ filter/ tests/ src/ Kernel/ FilterAPITest.php - Tests that filter format dependency removal works.
- filter_formats_reset in core/
modules/ filter/ filter.module - Resets the text format caches.
- FunctionalTestSetupTrait::prepareEnvironment in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Prepares the current environment for running the test.
- KernelTestBase::tearDown in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - LocaleBuildTest::testBuildProjects in core/
modules/ locale/ tests/ src/ Kernel/ LocaleBuildTest.php - Checks if a list of translatable projects gets built.
- LocalePluralFormatTest::testGetPluralFormat in core/
modules/ locale/ tests/ src/ Functional/ LocalePluralFormatTest.php - Tests locale_get_plural() and \Drupal::translation()->formatPlural() functionality.
- LocaleUpdateCronTest::testUpdateCron in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateCronTest.php - Tests interface translation update using cron.
- LocaleUpdateTest::testUpdateImportSourceLocal in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateTest.php - Tests translation import from local sources.
- LocaleUpdateTest::testUpdateImportSourceRemote in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateTest.php - Tests translation import from remote sources.
- locale_translation_clear_cache_projects in core/
modules/ locale/ locale.translation.inc - Clears the projects cache.
- locale_translation_update_file_history in core/
modules/ locale/ locale.module - Updates the {locale_file} table.
- MigrateExecutable::attemptMemoryReclaim in core/
modules/ migrate/ src/ MigrateExecutable.php - Tries to reclaim memory.
- NodeAccessGrantsCacheContextTest::testCacheContext in core/
modules/ node/ tests/ src/ Functional/ NodeAccessGrantsCacheContextTest.php - Tests NodeAccessGrantsCacheContext::getContext().
- NodeDeprecationTest::testNodeMarkDeprecation in core/
modules/ node/ tests/ src/ Kernel/ NodeDeprecationTest.php - NodeQueryAlterTest::testNodeQueryAlterOverride in core/
modules/ node/ tests/ src/ Functional/ NodeQueryAlterTest.php - Tests 'node_access' query alter override.
- options_field_storage_config_delete in core/
modules/ options/ options.module - Implements hook_ENTITY_TYPE_delete() for 'field_storage_config'.
- options_field_storage_config_update in core/
modules/ options/ options.module - Implements hook_ENTITY_TYPE_update() for 'field_storage_config'.
- ResettableStaticTest::testDrupalStatic in core/
tests/ Drupal/ KernelTests/ Core/ Bootstrap/ ResettableStaticTest.php - Tests drupal_static() function.
- ShortcutSetStorage::assignUser in core/
modules/ shortcut/ src/ ShortcutSetStorage.php - Assigns a user to a particular shortcut set.
- TaxonomyDeprecationTest::testTaxonomyDeprecations in core/
modules/ taxonomy/ tests/ src/ Kernel/ TaxonomyDeprecationTest.php - ThemeSettingsTest::testLogoConfig in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ ThemeSettingsTest.php - Tests that the default logo config can be overridden.
- user_user_login in core/
modules/ user/ user.module - Implements hook_user_login().
- user_user_logout in core/
modules/ user/ user.module - Implements hook_user_logout().