function _datex_available_calendars in Datex 7.3
Same name and namespace in other branches
- 8 datex.module \_datex_available_calendars()
Calendars supported by PHP-Intl, for form_options list.
3 calls to _datex_available_calendars()
- datex_admin_form in ./
datex.admin.inc - Provides administration form for datex module (menu callback).
- datex_block_configure in ./
datex.module - Implements hook_block_configure().
- datex_schema_edit_form in ./
datex.admin.inc - Menu callback, Admin form for editing datex schema.
File
- ./
datex.module, line 205 - Datex main module file, Datex adds php-intl support to drupal.
Code
function _datex_available_calendars() {
return [
'gregorian' => t('Gregorian'),
'japanese' => t('Japanese'),
'buddhist' => t('Buddhist'),
'chinese' => t('Chinese'),
'persian' => t('Persian'),
'indian' => t('Indian'),
'islamic' => t('Islamic'),
'hebrew' => t('Hebrew'),
'coptic' => t('Coptic'),
'ethiopic' => t('Ethiopic'),
];
}