You are here

function _spaces_calendar_ical_enabled in Spaces 5.2

Same name and namespace in other branches
  1. 5 spaces_calendar/spaces_calendar.module \_spaces_calendar_ical_enabled()
4 calls to _spaces_calendar_ical_enabled()
spaces_calendar_context_define in spaces_calendar/spaces_calendar.module
Implementation of hook_context_define()
spaces_calendar_settings_form in spaces_calendar/spaces_calendar.module
spaces_calendar_views_default_views in spaces_calendar/spaces_calendar.module
Implementation of hook_default_views
_spaces_calendar_views_calendar in spaces_calendar/spaces_calendar.module

File

spaces_calendar/spaces_calendar.module, line 584

Code

function _spaces_calendar_ical_enabled() {
  return module_exists('feedapi') && module_exists('feedapi_mapper') && variable_get('spaces_calendar_feed_itemtype', '') && variable_get('spaces_calendar_feed_nodetype', '');
}