| 7 bootstrap.inc | drupal_static_reset($name = NULL) |
| 8 bootstrap.inc | drupal_static_reset($name = NULL) |
Resets one or all centrally stored static variable(s).
Parameters
$name: Name of the static variable to reset. Omit to reset all variables.
▾ 91 functions call drupal_static_reset()
- block_page_build in modules/
block/ block.module - Implements hook_page_build().
- book_node_delete in modules/
book/ book.module - Implements hook_node_delete().
- BootstrapGetFilenameTestCase::testDrupalGetFilename in modules/
simpletest/ tests/ bootstrap.test - Test that drupal_get_filename() works correctly when the file is not found in the database.
- BootstrapIPAddressTestCase::setUp in modules/
simpletest/ tests/ bootstrap.test - Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
- BootstrapIPAddressTestCase::tearDown in modules/
simpletest/ tests/ bootstrap.test - Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
- BootstrapIPAddressTestCase::testIPAddressHost in modules/
simpletest/ tests/ bootstrap.test - test IP Address and hostname
- BootstrapResettableStaticTestCase::testDrupalStatic in modules/
simpletest/ tests/ bootstrap.test - Test that a variable reference returned by drupal_static() gets reset when drupal_static_reset() is called.
- CascadingStylesheetsTestCase::setUp in modules/
simpletest/ tests/ common.test - Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
- CascadingStylesheetsTestCase::testReset in modules/
simpletest/ tests/ common.test - Makes sure that reseting the CSS empties the cache.
- DrupalHTMLIdentifierTestCase::testDrupalHTMLId in modules/
simpletest/ tests/ common.test - Tests that drupal_html_id() cleans the ID properly.
- DrupalRenderTestCase::testDrupalRenderChildrenAttached in modules/
simpletest/ tests/ common.test - Test #attached functionality in children elements.
- DrupalUnitTestCase::setUp in modules/
simpletest/ drupal_web_test_case.php - Sets up unit test environment.
- DrupalWebTestCase::resetAll in modules/
simpletest/ drupal_web_test_case.php - Reset all data structures after having enabled new modules.
- DrupalWebTestCase::setUp in modules/
simpletest/ drupal_web_test_case.php - Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
- drupal_clear_path_cache in includes/
path.inc - Clear the path cache.
- drupal_process_form in includes/
form.inc - Processes a form submission.
- drupal_rewrite_settings in includes/
install.inc - Replace values in settings.php with values in the submitted array.
- drupal_theme_initialize in includes/
theme.inc - Initialize the theme system by loading the theme.
- entity_info_cache_clear in includes/
common.inc - Resets the cached information about entity types.
- FieldTranslationsTestCase::testFieldDisplayLanguage in modules/
field/ tests/ field.test - Tests display language logic for translatable fields.
- field_info_cache_clear in modules/
field/ field.info.inc - Clears the field info cache without clearing the field data cache.
- field_sql_storage_field_storage_query in modules/
field/ modules/ field_sql_storage/ field_sql_storage.module - Implements hook_field_storage_query().
- field_test_entity_info_translatable in modules/
field/ tests/ field_test.entity.inc - Helper function to enable entity translations.
- file_test_file_scan_callback_reset in modules/
simpletest/ tests/ file.test - Reset static variables used by file_test_file_scan_callback().
- FilterAdminTestCase::testFilterAdmin in modules/
filter/ filter.test - Test filter administration functionality.
- filter_formats_reset in modules/
filter/ filter.module - Resets text format caches.
- filter_modules_disabled in modules/
filter/ filter.module - Implements hook_modules_disabled().
- filter_modules_enabled in modules/
filter/ filter.module - Implements hook_modules_enabled().
- form_clear_error in includes/
form.inc - Clear all errors against all form elements made by form_set_error().
- form_options_flatten in includes/
form.inc - Allows PHP array processing of multiple select options with the same value.
- ForumTestCase::editForumTaxonomy in modules/
forum/ forum.test - Edit the forum taxonomy.
- hook_field_update_field in modules/
field/ field.api.php - Act on a field being updated.
- ImageAdminStylesUnitTest::testDefaultStyle in modules/
image/ image.test - Test to override, edit, then revert a style.
- ImageAdminStylesUnitTest::testStyle in modules/
image/ image.test - General test to add a style, add/remove/edit effects to it, then delete it.
- image_style_flush in modules/
image/ image.module - Flush cached media for a style.
- install_settings_form in includes/
install.core.inc - Installation task; define a form to configure and rewrite settings.php.
- install_verify_settings in includes/
install.core.inc - Verifies the existing settings in settings.php.
- JavaScriptTestCase::setUp in modules/
simpletest/ tests/ common.test - Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
- JavaScriptTestCase::testLibraryUnknown in modules/
simpletest/ tests/ common.test - Tests non-existing libraries.
- JavaScriptTestCase::testReset in modules/
simpletest/ tests/ common.test - Test to see if resetting the JavaScript empties the cache.
- language_negotiation_purge in includes/
language.inc - Updates language configuration to remove any language provider that is no longer defined.
- language_types_set in includes/
language.inc - Updates the language type configuration.
- list_field_update_field in modules/
field/ modules/ list/ list.module - Implements hook_field_update_field().
- LocaleCommentLanguageFunctionalTest::testCommentLanguage in modules/
locale/ locale.test - Test that comment language is properly set.
- LocaleConfigurationTest::testLanguageConfiguration in modules/
locale/ locale.test - Functional tests for adding, editing and deleting languages.
- LocaleLanguageNegotiationInfoFunctionalTest::checkFixedLanguageTypes in modules/
locale/ locale.test - Check that language negotiation for fixed types matches the stored one.
- LocaleLanguageNegotiationInfoFunctionalTest::languageNegotiationUpdate in modules/
locale/ locale.test - Update language types/negotiation information.
- LocaleTranslationFunctionalTest::testJavaScriptTranslation in modules/
locale/ locale.test - LocaleUILanguageNegotiationTest::testUILanguageNegotiation in modules/
locale/ locale.test - Tests for language switching by URL path.
- LocaleUrlRewritingTest::setUp in modules/
locale/ locale.test - Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
- locale_add_language in includes/
locale.inc - API function to add a language.
- locale_languages_overview_form in modules/
locale/ locale.admin.inc - User interface for the language overview screen.
- locale_reset in modules/
locale/ locale.module - Reset static variables used by locale().
- locale_translate_export_screen in modules/
locale/ locale.admin.inc - User interface for the translation export screen.
- locale_translate_import_form in modules/
locale/ locale.admin.inc - User interface for the translation import screen.
- locale_translate_import_form_submit in modules/
locale/ locale.admin.inc - Process the locale import form submission.
- locale_translate_overview_screen in modules/
locale/ locale.admin.inc - Overview screen for translations.
- locale_translation_filters in modules/
locale/ locale.admin.inc - List locale translation filters that can be applied.
- MenuRouterTestCase::testMenuGetNames in modules/
simpletest/ tests/ menu.test - Test menu_get_names().
- menu_reset_static_cache in includes/
menu.inc - Resets the menu system static cache.
- ModuleUnitTest::testDependencyResolution in modules/
simpletest/ tests/ module.test - Test dependency resolution.
- module_implements in includes/
module.inc - Determine which modules are implementing a hook.
- module_list in includes/
module.inc - Returns a list of currently active modules.
- NodeQueryAlter::testNodeQueryAlterOverride in modules/
node/ node.test - Lower-level test of 'node_access' query alter override.
- node_type_cache_reset in modules/
node/ node.module - Clears the node type cache.
- PathLanguageTestCase::testAliasTranslation in modules/
path/ path.test - Test alias functionality through the admin interfaces.
- PathTestCase::testAdminAlias in modules/
path/ path.test - Test alias functionality through the admin interfaces.
- search_menu in modules/
search/ search.module - Implements hook_menu().
- shortcut_set_assign_user in modules/
shortcut/ shortcut.module - Assigns a user to a particular shortcut set.
- StreamWrapperTest::setUp in modules/
simpletest/ tests/ file.test - Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
- system_add_date_format_type_form in modules/
system/ system.admin.inc - Add new date type.
- system_date_formats_rebuild in modules/
system/ system.module - Resets the database cache of date formats and saves all new date formats.
- system_date_time_formats in modules/
system/ system.admin.inc - Displays the date format strings overview page.
- system_date_time_settings in modules/
system/ system.admin.inc - Form builder; Configure the site date and time settings.
- system_list_reset in includes/
module.inc - Reset all system_list() caches.
- TaxonomyTermTestCase::testNodeTermCreationAndDeletion in modules/
taxonomy/ taxonomy.test - Test term creation with a free-tagging vocabulary from the node form.
- TaxonomyTermTestCase::testTermReorder in modules/
taxonomy/ taxonomy.test - Save, edit and delete a term using the user interface.
- taxonomy_terms_static_reset in modules/
taxonomy/ taxonomy.module - Clear all static cache variables for terms.
- taxonomy_vocabulary_static_reset in modules/
taxonomy/ taxonomy.module - Clear all static cache variables for vocabularies.
- ThemeTableUnitTest::testThemeTableNoStickyHeaders in modules/
simpletest/ tests/ theme.test - If $sticky is FALSE, no tableheader.js should be included.
- ThemeTableUnitTest::testThemeTableStickyHeaders in modules/
simpletest/ tests/ theme.test - Tableheader.js provides 'sticky' table headers, and is included by default.
- TranslationTestCase::addLanguage in modules/
translation/ translation.test - Install a the specified language if it has not been already. Otherwise make sure that the language is enabled.
- TranslationTestCase::resetCaches in modules/
translation/ translation.test - Reset static caches to make the test code match the client site behavior.
- UpgradePathTestCase::performUpgrade in modules/
simpletest/ tests/ upgrade/ upgrade.test - Perform the upgrade.
- UserPermissionsTestCase::testUserPermissionChanges in modules/
user/ user.test - Change user permissions and check user_access().
- user_role_delete in modules/
user/ user.module - Delete a user role from database.
- user_role_grant_permissions in modules/
user/ user.module - Grant permissions to a user role.
- user_role_revoke_permissions in modules/
user/ user.module - Revoke permissions from a user role.
- user_role_save in modules/
user/ user.module - Save a user role to the database.
- _book_update_outline in modules/
book/ book.module - Common helper function to handles additions and updates to the book outline.
- _form_validate in includes/
form.inc - Performs validation on form elements. First ensures required fields are completed, #maxlength is not exceeded, and selected options were in the list of options given to the user. Then calls user-defined validators.
File
- includes/
bootstrap.inc, line 3240 - Functions that need to be loaded on every Drupal request.
Code
<?php
function drupal_static_reset($name = NULL) {
drupal_static($name, NULL, TRUE);
}
?>Login or register to post comments