drupal_static_reset

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.

95 calls to drupal_static_reset()

File

core/includes/bootstrap.inc, line 3212
Functions that need to be loaded on every Drupal request.

Code

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