-
Notifications
You must be signed in to change notification settings - Fork 21
/
oa_sections.features.inc
45 lines (42 loc) · 1 KB
/
oa_sections.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
<?php
/**
* @file
* oa_sections.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function oa_sections_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 oa_sections_views_api($module = NULL, $api = NULL) {
return array("api" => "3.0");
}
/**
* Implements hook_node_info().
*/
function oa_sections_node_info() {
$items = array(
'oa_section' => array(
'name' => t('Section Page'),
'base' => 'node_content',
'description' => t('A landing page and collection of content within a Space.'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
);
drupal_alter('node_info', $items);
return $items;
}