You are here

function panels_get_path in Panels 6.3

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

panels path helper function

Related topics

2 calls to panels_get_path()
panels_load_include in ./panels.module
Load a panels include file.
_panels_rounded_corners_css in plugins/styles/corners/rounded_corners.inc
Generates the dynamic CSS.

File

./panels.module, line 1618
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;
}