diff options
author | Silvio <silvio@socioambiental.org> | 2012-08-02 17:57:34 -0300 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2012-08-02 17:57:34 -0300 |
commit | d3a74e983d82df74190408bf657471b72e9491d9 (patch) | |
tree | 59508ba7c7b838c587e49990af346b3c70420928 /features/timelinejs_feature/timelinejs_feature.features.inc | |
parent | 8643c67b038376f0824af0cc71c662170c979263 (diff) | |
download | timelinejs-d3a74e983d82df74190408bf657471b72e9491d9.tar.gz timelinejs-d3a74e983d82df74190408bf657471b72e9491d9.tar.bz2 |
Adding feature
Diffstat (limited to 'features/timelinejs_feature/timelinejs_feature.features.inc')
-rw-r--r-- | features/timelinejs_feature/timelinejs_feature.features.inc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/features/timelinejs_feature/timelinejs_feature.features.inc b/features/timelinejs_feature/timelinejs_feature.features.inc new file mode 100644 index 0000000..865e858 --- /dev/null +++ b/features/timelinejs_feature/timelinejs_feature.features.inc @@ -0,0 +1,40 @@ +<?php +/** + * @file + * timelinejs_feature.features.inc + */ + +/** + * Implements hook_ctools_plugin_api(). + */ +function timelinejs_feature_ctools_plugin_api() { + list($module, $api) = func_get_args(); + if ($module == "strongarm" && $api == "strongarm") { + return array("version" => "1"); + } +} + +/** + * Implements hook_node_info(). + */ +function timelinejs_feature_node_info() { + $items = array( + 'event' => array( + 'name' => t('Evento'), + 'base' => 'node_content', + 'description' => t('Um evento com data.'), + 'has_title' => '1', + 'title_label' => t('Título'), + 'help' => '', + ), + 'timeline' => array( + 'name' => t('Linha do tempo'), + 'base' => 'node_content', + 'description' => t('Uma linha do tempo é um conjunto de eventos.'), + 'has_title' => '1', + 'title_label' => t('Título'), + 'help' => '', + ), + ); + return $items; +} |