diff options
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; +} |