Mercurial > hg > rr-repo
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sites/all/modules/flexslider/flexslider_example/flexslider_example.features.inc Thu Aug 22 17:22:54 2013 +0100 @@ -0,0 +1,47 @@ +<?php +/** + * @file + * flexslider_example.features.inc + */ + +/** + * Implements hook_ctools_plugin_api(). + */ +function flexslider_example_ctools_plugin_api() { + list($module, $api) = func_get_args(); + if ($module == "context" && $api == "context") { + return array("version" => "3"); + } + list($module, $api) = func_get_args(); + if ($module == "flexslider" && $api == "flexslider_default_preset") { + return array("version" => "1"); + } + list($module, $api) = func_get_args(); + if ($module == "strongarm" && $api == "strongarm") { + return array("version" => "1"); + } +} + +/** + * Implements hook_views_api(). + */ +function flexslider_example_views_api() { + return array("version" => "3.0"); +} + +/** + * Implements hook_node_info(). + */ +function flexslider_example_node_info() { + $items = array( + 'flexslider_example' => array( + 'name' => t('FlexSlider Example'), + 'base' => 'node_content', + 'description' => t('Used for generating example FlexSlider implementations'), + 'has_title' => '1', + 'title_label' => t('Title'), + 'help' => '', + ), + ); + return $items; +}