You are here

function fullcalendar_get_js_path in FullCalendar 7.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.2 fullcalendar.module \fullcalendar_get_js_path()
  7. 6 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_version in ./fullcalendar.module
Returns the version of FullCalendar plugin that is installed.
_fullcalendar_status in ./fullcalendar.module
Checks FullCalendar dependencies.

File

./fullcalendar.module, line 398
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_default_path()) . '/' . $fullcalendar_file[variable_get('fullcalendar_compression_type', 'min')];
}