1.12.x drupal.inc drupal_array_unset_nested_value(array &$array, array $parents, &$key_existed = NULL)
1.10.x drupal.inc drupal_array_unset_nested_value(array &$array, array $parents, &$key_existed = NULL)
1.11.x drupal.inc drupal_array_unset_nested_value(array &$array, array $parents, &$key_existed = NULL)
1.7.x drupal.inc drupal_array_unset_nested_value(array &$array, array $parents, &$key_existed = NULL)

Unsets a value in a nested array with variable depth.

Deprecated

since 1.0.0

See also

backdrop_array_unset_nested_value()

Related topics

File

includes/drupal.inc, line 1405
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_array_unset_nested_value(array &$array, array $parents, &$key_existed = NULL) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  backdrop_array_unset_nested_value($array, $parents, $key_existed);
}