Mercurial > hg > rr-repo
comparison sites/all/modules/flexslider/flexslider_example/flexslider_example.features.inc @ 2:b74b41bb73f0
-- Google analytics module
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Thu, 22 Aug 2013 17:22:54 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:67ce89da90df | 2:b74b41bb73f0 |
---|---|
1 <?php | |
2 /** | |
3 * @file | |
4 * flexslider_example.features.inc | |
5 */ | |
6 | |
7 /** | |
8 * Implements hook_ctools_plugin_api(). | |
9 */ | |
10 function flexslider_example_ctools_plugin_api() { | |
11 list($module, $api) = func_get_args(); | |
12 if ($module == "context" && $api == "context") { | |
13 return array("version" => "3"); | |
14 } | |
15 list($module, $api) = func_get_args(); | |
16 if ($module == "flexslider" && $api == "flexslider_default_preset") { | |
17 return array("version" => "1"); | |
18 } | |
19 list($module, $api) = func_get_args(); | |
20 if ($module == "strongarm" && $api == "strongarm") { | |
21 return array("version" => "1"); | |
22 } | |
23 } | |
24 | |
25 /** | |
26 * Implements hook_views_api(). | |
27 */ | |
28 function flexslider_example_views_api() { | |
29 return array("version" => "3.0"); | |
30 } | |
31 | |
32 /** | |
33 * Implements hook_node_info(). | |
34 */ | |
35 function flexslider_example_node_info() { | |
36 $items = array( | |
37 'flexslider_example' => array( | |
38 'name' => t('FlexSlider Example'), | |
39 'base' => 'node_content', | |
40 'description' => t('Used for generating example FlexSlider implementations'), | |
41 'has_title' => '1', | |
42 'title_label' => t('Title'), | |
43 'help' => '', | |
44 ), | |
45 ); | |
46 return $items; | |
47 } |