-
Notifications
You must be signed in to change notification settings - Fork 1
/
unlv_events.features.inc
51 lines (48 loc) · 1.23 KB
/
unlv_events.features.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/**
* @file
* unlv_events.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function unlv_events_ctools_plugin_api() {
list($module, $api) = func_get_args();
if ($module == "feeds" && $api == "feeds_importer_default") {
return array("version" => "1");
}
list($module, $api) = func_get_args();
if ($module == "strongarm" && $api == "strongarm") {
return array("version" => "1");
}
}
/**
* Implements hook_views_api().
*/
function unlv_events_views_api() {
return array("version" => "3.0");
}
/**
* Implements hook_node_info().
*/
function unlv_events_node_info() {
$items = array(
'feed_unlv_calendar' => array(
'name' => t('Feed from UNLV Calendar'),
'base' => 'node_content',
'description' => t('Nodes that hold UNLV calendar event feeds'),
'has_title' => '1',
'title_label' => t('UNLV Calendar Feed Title'),
'help' => '',
),
'feed_unlv_calendar_item' => array(
'name' => t('Feed Item from UNLV Calendar'),
'base' => 'node_content',
'description' => t('Nodes that hold the actual events from UNLV calendar event feeds'),
'has_title' => '1',
'title_label' => t('Event Title'),
'help' => '',
),
);
return $items;
}