You are here

function calendar_systems_calendar_info in Calendar Systems 6.2

Implements hook_calendar_info().

This is the calendar_gregorian.module built into the calendar_systems.module, So we got a default fake Gregorian calendar.

Return value

An array of Gregorian calendar information.

File

./calendar_systems.module, line 434
Contains Calendar Systems module hooks, helpers and API functions.

Code

function calendar_systems_calendar_info() {
  $calendar = array();
  $calendar['gregorian'] = array(
    'name' => t('Gregorian'),
    'format callback' => 'calendar_gregorian_formatter',
    'month days callback' => 'calendar_gregorian_month_days',
  );
  return $calendar;
}