29 calls to drupal_static_reset() in Drupal 8
- drupal_flush_all_caches in core/
includes/ common.inc - 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.
- ImageEffectsTest::testImageEffectsCaching in core/
modules/ image/ tests/ src/ Functional/ ImageEffectsTest.php - Test image effect caching.
- 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().
- 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.
- TermStorage::resetCache in core/
modules/ taxonomy/ src/ TermStorage.php - Resets the internal, static entity cache.
- TestBase::prepareEnvironment in core/
modules/ simpletest/ src/ TestBase.php - Prepares the current environment for running the test.
- TestBase::restoreEnvironment in core/
modules/ simpletest/ src/ TestBase.php - Cleans up the test environment and restores the original environment.
- ThemeSettingsTest::testLogoConfig in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ ThemeSettingsTest.php - Tests that the default logo config can be overridden.
- UpdatePathTestBase::runUpdates in core/
modules/ system/ src/ Tests/ Update/ UpdatePathTestBase.php - Helper function to run pending database updates.
- update_set_schema in core/
includes/ update.inc - Forces a module to a given schema version.
- 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().
- VocabularyStorage::resetCache in core/
modules/ taxonomy/ src/ VocabularyStorage.php - Resets the internal, static entity cache.