From 0836bb83357e8eec6e8f2d595ebdec295ce6c68c Mon Sep 17 00:00:00 2001 From: Gordon Heydon Date: Sun, 28 Feb 2010 11:12:36 +1100 Subject: [PATCH 3/3] * Add implementation to be able to add the pathauto variables to features --- modules/acquia/pathauto/pathauto.module | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git modules/acquia/pathauto/pathauto.module modules/acquia/pathauto/pathauto.module index a5208e0..7b68537 100644 --- modules/acquia/pathauto/pathauto.module +++ modules/acquia/pathauto/pathauto.module @@ -454,3 +454,14 @@ function pathauto_user($op, &$edit, &$user, $category = FALSE) { break; } } + +/** + * Implementation of hook_features_populate_alter(). + */ +function pathauto_features_populate_alter(&$pipe, $data, $export, $module_name, $componet) { + if ($componet == 'node') { + foreach ($data as $type) { + $pipe['variable'][] = 'pathauto_node_' . $type . '_pattern'; + } + } +} \ No newline at end of file -- 1.6.6.1