function fullcalendar_get_js_path in FullCalendar 8
Same name and namespace in other branches
- 8.5 fullcalendar.module \fullcalendar_get_js_path()
- 8.2 fullcalendar.module \fullcalendar_get_js_path()
- 8.3 fullcalendar.module \fullcalendar_get_js_path()
- 8.4 fullcalendar.module \fullcalendar_get_js_path()
- 6.2 fullcalendar.module \fullcalendar_get_js_path()
- 6 fullcalendar.module \fullcalendar_get_js_path()
- 7.2 fullcalendar.module \fullcalendar_get_js_path()
- 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_requirements in ./
fullcalendar.install - Implements hook_requirements().
File
- ./
fullcalendar.module, line 195 - Provides a views style plugin for FullCalendar
Code
function fullcalendar_get_js_path() {
$fullcalendar_file = [
'none' => 'fullcalendar.js',
'min' => 'fullcalendar.min.js',
];
$config = \Drupal::config('fullcalendar.settings');
return $config
->get('path') . '/' . $fullcalendar_file[$config
->get('compression')];
}