forked from SU-SWS/stanford_slides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stanford_slides.features.inc
43 lines (40 loc) · 1.05 KB
/
stanford_slides.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
<?php
/**
* @file
* stanford_slides.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function stanford_slides_ctools_plugin_api($module = NULL, $api = NULL) {
if ($module == "field_group" && $api == "field_group") {
return array("version" => "1");
}
if ($module == "strongarm" && $api == "strongarm") {
return array("version" => "1");
}
}
/**
* Implements hook_views_api().
*/
function stanford_slides_views_api($module = NULL, $api = NULL) {
return array("api" => "3.0");
}
/**
* Implements hook_node_info().
*/
function stanford_slides_node_info() {
$items = array(
'stanford_slide' => array(
'name' => t('Stanford Slide'),
'base' => 'node_content',
'description' => t('Used when the image is not associated with content. For slideshows, rotating images, etc.
Basically just the image field collection (no body text) with a link, type, and weight.'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
);
drupal_alter('node_info', $items);
return $items;
}