function drupal_get_path

cis7 drupal_get_path($type, $name)
cle7 drupal_get_path($type, $name)
elmsmedia7 drupal_get_path($type, $name)
icor7 drupal_get_path($type, $name)
meedjum_blog7 drupal_get_path($type, $name)
mooc7 drupal_get_path($type, $name)

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


$type: The type of the item (i.e. theme, theme_engine, module, profile).

$name: The name of the item for which the path is requested.

Return value

The path to the requested item or an empty string if the item is not found.

741 calls to drupal_get_path()
accessibility_accessibility_get_test_translation in sites/all/modules/ulmus/accessibility/accessibility.module
Implements hook_accessibility_get_test_translation().
accessibility_content_init in sites/all/modules/ulmus/accessibility/modules/accessibility_content/
accessibility_features_api in sites/all/modules/ulmus/accessibility/accessibility.module
Implements hook_features_api().
accessibility_load in sites/all/modules/ulmus/accessibility/accessibility.module
Helper function to load the QUAIL library.
accessibility_menu in sites/all/modules/ulmus/accessibility/accessibility.module
Implements hook_menu().

... See full list

1 string reference to 'drupal_get_path'
module_load_include in includes/
Loads a module include file.


includes/, line 2803
Common functions that many Drupal modules will need to reference.


function drupal_get_path($type, $name) {
  return dirname(drupal_get_filename($type, $name));