1 drupal.inc drupal_dirname($uri)

Gets the name of the directory from a given path.

Deprecated

since 1.0.0

See also

backdrop_dirname()

Related topics

File

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

Code

function drupal_dirname($uri) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_dirname($uri);
}