Skip to content
Browse files

Minor updates

  • Loading branch information...
1 parent f1fd410 commit aa3b5aa2289ef46fa9cab6dceff369adbc76ea04 @shakty committed Apr 22, 2012
Showing with 12 additions and 2 deletions.
  1. +12 −2 includes/forms/export.inc
View
14 includes/forms/export.inc
@@ -1,9 +1,18 @@
<?php
/**
* @file
- * Importing Patterns from a file or using an URL.
+ * Export the components configuration to a Pattern file.
+ *
+ */
+
+/**
+ * TODO: finish Export documentation
+ * TODO: code cleanup
+ * TODO: Export through the Batch API
*/
+
+
function _patterns_export_build_input_name($module, $tag){
return 'ext['.$module.'][options][' . $tag . ']';
}
@@ -319,7 +328,8 @@ function patterns_export_submit($form, &$form_state) {
$pattern[$s] = $values;
}
- drupal_set_message(print_r($pattern, true));
+ // Display the exported pattern
+ //drupal_set_message(print_r($pattern, true));
$result = patterns_io_save_pattern($pattern, $filename, $format);

0 comments on commit aa3b5aa

Please sign in to comment.
Something went wrong with that request. Please try again.