function _calendar_systems_plugins in Calendar Systems 7.3
Same name and namespace in other branches
- 8 calendar_systems.helpers.inc \_calendar_systems_plugins()
- 7 calendar_systems.helpers.inc \_calendar_systems_plugins()
- 7.2 calendar_systems.helpers.inc \_calendar_systems_plugins()
Internal helper which defines all available calendars manually.
@todo Define a pluggable API, so other modules can hook the hell in.
Return value
An array defined calendars.
1 call to _calendar_systems_plugins()
- calendar_systems_profile_overview in ./
calendar_systems.admin.inc - Form callback for calendar systems profiles.
File
- ./
calendar_systems.module, line 279 - Contains Calendar Systems hook implementations and helpers.
Code
function _calendar_systems_plugins() {
$result = array(
'default' => array(
'title' => t('Default'),
'installed' => TRUE,
'installed version' => 2,
),
'iranian' => array(
'title' => t('Iranian'),
'installed' => TRUE,
'installed version' => 2,
),
'arabic' => array(
'title' => t('Arabic'),
'installed' => TRUE,
'installed version' => 2,
),
);
return $result;
}