From b8bc938f5564b3dfcd27aa08eb7eb98ac8f9b11c Mon Sep 17 00:00:00 2001
From: Tim Plunkett <git@plnktt.com>
Date: Wed, 27 Apr 2011 10:43:36 -0400
Subject: [PATCH] Issue #881170 by phayes, rupl, tim.plunkett: Added Features support.

---
 auto_nodetitle.module |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/auto_nodetitle.module b/auto_nodetitle.module
index c35a271..986d385 100644
--- a/auto_nodetitle.module
+++ b/auto_nodetitle.module
@@ -255,3 +255,14 @@ function auto_nodetitle_node_type($op, $info) {
       break;
   }
 }
+
+/**
+ * Implementation of hook_features_pipe_COMPONENT_alter().
+ */
+function auto_nodetitle_features_pipe_node_alter(&$pipe, $data, $export) {
+  foreach ($data as $type) {
+    $pipe['variable'][] = 'ant_' . $type;
+    $pipe['variable'][] = 'ant_pattern_' . $type;
+    $pipe['variable'][] = 'ant_php_' . $type;
+  }
+}
-- 
1.7.3.2

