From d3a74e983d82df74190408bf657471b72e9491d9 Mon Sep 17 00:00:00 2001 From: Silvio Date: Thu, 2 Aug 2012 17:57:34 -0300 Subject: Adding feature --- .../timelinejs_feature.features.inc | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 features/timelinejs_feature/timelinejs_feature.features.inc (limited to 'features/timelinejs_feature/timelinejs_feature.features.inc') 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 @@ + "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; +} -- cgit v1.2.3