You are here

function fullcalendar_get_js_path in FullCalendar 6

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.2 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 FullCalander js plugin.

2 calls to fullcalendar_get_js_path()
fullcalendar_get_version in ./fullcalendar.module
Returns the version of Fullcalender plugin that is installed.
fullcalendar_init in ./fullcalendar.module
Implementation of hook_init().

File

./fullcalendar.module, line 437
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')];
}