This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fserver.features.inc
65 lines (62 loc) · 1.67 KB
/
fserver.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
/**
* Implementation of hook_ctools_plugin_api().
*/
function fserver_ctools_plugin_api() {
list($module, $api) = func_get_args();
if ($module == "context" && $api == "context") {
return array("version" => 3);
}
elseif ($module == "strongarm" && $api == "strongarm") {
return array("version" => 1);
}
}
/**
* Implementation of hook_node_info().
*/
function fserver_node_info() {
$items = array(
'fserver_distro' => array(
'name' => t('Distribution'),
'module' => 'features',
'description' => t('A feature distribution page. Provides the drush make commands and releases for download.'),
'has_title' => '1',
'title_label' => t('Distribution'),
'has_body' => '1',
'body_label' => t('Body'),
'min_word_count' => '0',
'help' => '',
),
'fserver_project' => array(
'name' => t('Project'),
'module' => 'features',
'description' => t('A feature project page. Provides a summary of project information and releases for download.'),
'has_title' => '1',
'title_label' => t('Project'),
'has_body' => '1',
'body_label' => t('Description'),
'min_word_count' => '0',
'help' => '',
),
'fserver_release' => array(
'name' => t('Release'),
'module' => 'features',
'description' => t('A single release package for a feature.'),
'has_title' => '1',
'title_label' => t('Release'),
'has_body' => '1',
'body_label' => t('Notes'),
'min_word_count' => '0',
'help' => '',
),
);
return $items;
}
/**
* Implementation of hook_views_api().
*/
function fserver_views_api() {
return array(
'api' => '2',
);
}