You are here

function fullcalendar_get_js_path in FullCalendar 6.2

Same name and namespace in other branches
  1. 8.5 fullcalendar.module \fullcalendar_get_js_path()
  2. 8 fullcalendar.module \fullcalendar_get_js_path()
  3. 8.2 fullcalendar.module \fullcalendar_get_js_path()
  4. 8.3 fullcalendar.module \fullcalendar_get_js_path()
  5. 8.4 fullcalendar.module \fullcalendar_get_js_path()
  6. 6 fullcalendar.module \fullcalendar_get_js_path()
  7. 7.2 fullcalendar.module \fullcalendar_get_js_path()
  8. 7 fullcalendar.module \fullcalendar_get_js_path()

Returns the path to the FullCalendar plugin.

2 calls to fullcalendar_get_js_path()
fullcalendar_get_settings in ./fullcalendar.module
fullcalendar_get_version in ./fullcalendar.module
Returns the version of FullCalendar plugin that is installed.

File

./fullcalendar.module, line 414
Provides a views style plugin for FullCalendar

Code

function fullcalendar_get_js_path() {
  $fullcalendar_file = array(
    'none' => 'fullcalendar.js',
    'min' => 'fullcalendar.min.js',
  );
  return variable_get('fullcalendar_path', FULLCALENDAR_PATH) . '/' . $fullcalendar_file[variable_get('fullcalendar_compression_type', 'min')];
}