1 drupal.inc drupal_get_path($type, $name)

Returns the path to a system item (module, theme, etc.).

Deprecated

since 1.0.0

See also

backdrop_get_path()

Related topics

File

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

Code

function drupal_get_path($type, $name) {
  return backdrop_get_path($type, $name);
}