drupal_static_reset

Versions
7
drupal_static_reset($name = NULL)

Reset one or all centrally stored static variable(s).

Parameters

$name Name of the static variable to reset. Omit to reset all variables.

▾ 40 functions call drupal_static_reset()

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.
field_info_cache_clear in modules/field/field.info.inc
Clear the field info cache without clearing the field data cache.
field_test_entity_info_translatable in modules/field/tests/field_test.module
Helper function to enable entity translations.
filter_formats_reset in modules/filter/filter.module
Resets the static cache of all text formats.
form_clear_error in includes/form.inc
Clear all errors against all form elements made by form_set_error().
image_style_flush in modules/image/image.module
Flush cached media for a style.
install_finished in ./install.php
Installation task; perform final steps and display a 'finished' page.
install_settings_form in ./install.php
Installation task; define a form to configure and rewrite settings.php.
install_verify_settings in ./install.php
Verify existing settings.php
list_themes in includes/theme.inc
Return a list of all currently available themes.
locale_languages_overview_form in includes/locale.inc
User interface for the language overview screen.
locale_translate_export_screen in includes/locale.inc
User interface for the translation export screen.
locale_translate_import_form in includes/locale.inc
User interface for the translation import screen.
locale_translate_import_form_submit in includes/locale.inc
Process the locale import form submission.
locale_translate_overview_screen in includes/locale.inc
Overview screen for translations.
locale_translation_filters in includes/locale.inc
List locale translation filters that can be applied.
module_implements in includes/module.inc
Determine which modules are implementing a hook.
module_list in includes/module.inc
Collect a list of all loaded modules. During the bootstrap, return only vital modules. See bootstrap.inc
node_menu in modules/node/node.module
Implement hook_menu().
node_modules_installed in modules/node/node.admin.inc
Implement hook_modules_installed()
node_types_rebuild in modules/node/node.module
Resets the database cache of node types.
node_type_delete in modules/node/node.module
Deletes a node type from the database.
node_type_save in modules/node/node.module
Saves a node type to the database.
node_update_7004 in modules/node/node.install
Extend the existing default preview and teaser settings to all node types.
node_update_7006 in modules/node/node.install
Convert body and teaser from node properties to fields, and migrate status/comment/promote and sticky columns to the {node_revision} table.
rdf_mapping_save in modules/rdf/rdf.module
Saves an RDF mapping to the database.
rdf_modules_installed in modules/rdf/rdf.module
Implements hook_modules_installed().
search_menu in modules/search/search.module
Implement hook_menu().
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 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.
taxonomy_terms_static_reset in modules/taxonomy/taxonomy.module
Clear all static cache variables for terms..
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.

Code

includes/bootstrap.inc, line 2229

<?php
function drupal_static_reset($name = NULL) {
  drupal_static($name, NULL, TRUE);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.