You are here

function panels_get_path in Panels 6.2

Same name and namespace in other branches
  1. 5.2 panels.module \panels_get_path()
  2. 6.3 panels.module \panels_get_path()
  3. 7.3 panels.module \panels_get_path()

panels path helper function

37 calls to panels_get_path()
panels_add_content in includes/display-edit.inc
panels_admin_content_types_custom in content_types/custom.inc
Return all content types available.
panels_admin_content_types_custom_php in content_types/custom_php.inc
Return all content types available.
panels_admin_content_types_form in content_types/form.inc
Return all content types available.
panels_admin_content_types_node_attachments in content_types/node_attachments.inc
Return all content types available.

... See full list

File

./panels.module, line 224
panels.module

Code

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