// The memory cache ensures the deprecation only triggers once.
\Drupal::cache('memory')->set($cid,TRUE);
@trigger_error("Calling drupal_static() with \"$name\" as argument is deprecated in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::cache('memory')->set() and \Drupal::cache('memory')->get() instead. See https://www.drupal.org/node/2661204",E_USER_DEPRECATED);
}
}
static$data=[],$defaults=[];
if(isset($name)){
// Check if we're dealing with a previously defined static variable.
// The memory cache ensures the deprecation only triggers once.
\Drupal::cache('memory')->set($cid,TRUE);
if(!isset($name)){
@trigger_error("Calling drupal_static_reset() with \"NULL\" as argument is deprecated in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::cache('memory')->delete() instead. See https://www.drupal.org/node/2661204",E_USER_DEPRECATED);
}
else{
@trigger_error("Calling drupal_static_reset() with \"$name\" as argument is deprecated in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::cache('memory')->delete() instead. See https://www.drupal.org/node/2661204",E_USER_DEPRECATED);