aboutsummaryrefslogtreecommitdiff
path: root/features/muamba_system/muamba_system.features.inc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-23 18:53:39 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-23 18:53:39 -0300
commiteccec7929df788834f12ba4c6efbccf85a30d530 (patch)
treeb4d1b42e2589e4767253798f3a2735f027fecb67 /features/muamba_system/muamba_system.features.inc
parent6bae340a5a1e96acba6dd50fb07ba290605b897a (diff)
downloadmuamba-eccec7929df788834f12ba4c6efbccf85a30d530.tar.gz
muamba-eccec7929df788834f12ba4c6efbccf85a30d530.tar.bz2
Adding muamba_system
Diffstat (limited to 'features/muamba_system/muamba_system.features.inc')
-rw-r--r--features/muamba_system/muamba_system.features.inc40
1 files changed, 40 insertions, 0 deletions
diff --git a/features/muamba_system/muamba_system.features.inc b/features/muamba_system/muamba_system.features.inc
new file mode 100644
index 0000000..e432469
--- /dev/null
+++ b/features/muamba_system/muamba_system.features.inc
@@ -0,0 +1,40 @@
+<?php
+/**
+ * @file
+ * muamba_system.features.inc
+ */
+
+/**
+ * Implements hook_ctools_plugin_api().
+ */
+function muamba_system_ctools_plugin_api() {
+ list($module, $api) = func_get_args();
+ if ($module == "strongarm" && $api == "strongarm") {
+ return array("version" => "1");
+ }
+}
+
+/**
+ * Implements hook_node_info().
+ */
+function muamba_system_node_info() {
+ $items = array(
+ 'clube' => array(
+ 'name' => t('Clube'),
+ 'base' => 'node_content',
+ 'description' => t('Clube de Muamba'),
+ 'has_title' => '1',
+ 'title_label' => t('Nome'),
+ 'help' => '',
+ ),
+ 'muamba' => array(
+ 'name' => t('Muamba'),
+ 'base' => 'node_content',
+ 'description' => t('Equipamento ou recurso em geral.'),
+ 'has_title' => '1',
+ 'title_label' => t('Nome'),
+ 'help' => '',
+ ),
+ );
+ return $items;
+}