-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathding_event.features.inc
44 lines (41 loc) · 1.04 KB
/
ding_event.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
<?php
/**
* @file
* ding_event.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function ding_event_ctools_plugin_api($module = NULL, $api = NULL) {
if ($module == "field_group" && $api == "field_group") {
return array("version" => "1");
}
if ($module == "page_manager" && $api == "pages_default") {
return array("version" => "1");
}
if ($module == "strongarm" && $api == "strongarm") {
return array("version" => "1");
}
}
/**
* Implements hook_views_api().
*/
function ding_event_views_api($module = NULL, $api = NULL) {
return array("api" => "3.0");
}
/**
* Implements hook_node_info().
*/
function ding_event_node_info() {
$items = array(
'ding_event' => array(
'name' => t('Event'),
'base' => 'node_content',
'description' => t('A content type for events concerning libraries.'),
'has_title' => '1',
'title_label' => t('Titel'),
'help' => t('This is the heading usually displayed with a big font size (h1) on the top of the page.'),
),
);
return $items;
}