-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathding_groups.features.inc
44 lines (41 loc) · 1011 Bytes
/
ding_groups.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_groups.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function ding_groups_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_groups_views_api($module = NULL, $api = NULL) {
return array("api" => "3.0");
}
/**
* Implements hook_node_info().
*/
function ding_groups_node_info() {
$items = array(
'ding_group' => array(
'name' => t('Group'),
'base' => 'node_content',
'description' => t('Create and new group that can be used to group related content together (temapages)'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
);
return $items;
}