3); } elseif ($module == "feeds" && $api == "feeds_importer_default") { return array("version" => 1); } elseif ($module == "strongarm" && $api == "strongarm") { return array("version" => 1); } } /** * Implementation of hook_node_info(). */ function atrium_calendar_node_info() { $items = array( 'event' => array( 'name' => t('Event'), 'module' => 'features', 'description' => t('A calendar event with start and optional end times.'), 'has_title' => '1', 'title_label' => t('Title'), 'has_body' => '1', 'body_label' => t('Body'), 'min_word_count' => '0', 'help' => '', ), 'feed_ical' => array( 'name' => t('iCal Feed'), 'module' => 'features', 'description' => t('A feed used to aggregate events from external iCal calendars.'), 'has_title' => '1', 'title_label' => t('Title'), 'has_body' => '0', 'body_label' => '', 'min_word_count' => '0', 'help' => '', ), 'feed_ical_item' => array( 'name' => t('iCal Event'), 'module' => 'features', 'description' => t('An event aggregated from an external iCal feed.'), 'has_title' => '1', 'title_label' => t('Title'), 'has_body' => '1', 'body_label' => t('Body'), 'min_word_count' => '0', 'help' => '', ), ); return $items; } /** * Implementation of hook_views_api(). */ function atrium_calendar_views_api() { return array( 'api' => '2', ); }