You are here

function context_admin_get_path in Contextual Administration 6

Same name and namespace in other branches
  1. 7 context_admin.module \context_admin_get_path()
1 call to context_admin_get_path()
menu_context.inc in plugins/task_handlers/menu_context.inc

File

./context_admin.module, line 20

Code

function context_admin_get_path($file, $base_path = FALSE, $module = 'context_admin') {
  $output = $base_path ? base_path() : '';
  return $output . drupal_get_path('module', $module) . '/' . $file;
}