1.12.x drupal.inc drupal_depth_first_search(&$graph)
1.10.x drupal.inc drupal_depth_first_search(&$graph)
1.11.x drupal.inc drupal_depth_first_search(&$graph)
1.7.x drupal.inc drupal_depth_first_search(&$graph)

Performs a depth-first search and sort on a directed acyclic graph.

Deprecated

since 1.0.0

See also

backdrop_depth_first_search()

Related topics

File

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

Code

function drupal_depth_first_search(&$graph) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  backdrop_depth_first_search($graph);
}