You are here

function opening_hours_js_attach_presentation in Opening hours 7

Attachments for the presentation page.

1 call to opening_hours_js_attach_presentation()
opening_hours_add_js in ./opening_hours.module
Helper function to load our JavaScript dependencies.

File

./opening_hours.module, line 633
Opening hours module.

Code

function opening_hours_js_attach_presentation($nid = NULL) {
  $attachments = opening_hours_js_attach_common($nid);
  $path = drupal_get_path('module', 'opening_hours');
  $attachments['css'][] = $path . '/css/opening_hours.theme.css';
  $attachments['js'][] = $path . '/js/opening_hours.presentation.js';
  return $attachments;
}