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.

100 calls to drupal_static_reset()

File

includes/bootstrap.inc, line 3282
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