You are here

function date_menu in Date 5

Same name and namespace in other branches
  1. 5.2 date/date.module \date_menu()
  2. 6.2 date/date.module \date_menu()
  3. 7 date.module \date_menu()

Implementation of hook_menu().

File

./date.module, line 15
Defines a date/time field type.

Code

function date_menu($may_cache) {
  if (!$may_cache) {

    // Include css unconditionally exactly once.
    drupal_add_css(drupal_get_path('module', 'date') . '/date.css');
    if (module_exists('views')) {
      include_once './' . drupal_get_path('module', 'date') . '/date_views.inc';
    }
  }
}