You are here

function calendar_islamic_calendar_info in Calendar Systems 6.2

Implements hook_calendar_info().

File

calendars/calendar_islamic/calendar_islamic.module, line 11
Implements necessary hooks of Calendar Systems module, to support Islamic Calendar.

Code

function calendar_islamic_calendar_info() {
  $calendar = array();
  $calendar['islamic'] = array(
    'name' => t('Islamic (Lunar Hijri)'),
    'format callback' => 'calendar_islamic_formatter',
    'convert callback' => 'calendar_islamic_converter',
    'config callback' => 'calendar_islamic_admin_form',
  );
  return $calendar;
}