You are here

function panels_get_path in Panels 7.3

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

Panels path helper function.

1 call to panels_get_path()
_panels_rounded_corners_css in plugins/styles/corners/rounded_corners.inc
Generates the dynamic CSS.

File

./panels.module, line 2152
Core functionality for the Panels engine.

Code

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