You are here

function _spaces_calendar_enabled in Spaces 5.2

Same name and namespace in other branches
  1. 5 spaces_calendar/spaces_calendar.module \_spaces_calendar_enabled()
2 calls to _spaces_calendar_enabled()
spaces_calendar_context_define in spaces_calendar/spaces_calendar.module
Implementation of hook_context_define()
spaces_calendar_form_alter in spaces_calendar/spaces_calendar.module
Implementation of hook_form_alter()

File

spaces_calendar/spaces_calendar.module, line 580

Code

function _spaces_calendar_enabled() {
  return variable_get('spaces_calendar_nodetype', '') && variable_get('spaces_calendar_datefield', '');
}