]> gitweb.fluxo.info Git - drupal/muamba.git/commitdiff
Adding more stuff to features (2)
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Oct 2011 01:27:13 +0000 (22:27 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Oct 2011 01:27:13 +0000 (22:27 -0300)
features/muamba_interface/muamba_interface.info
features/muamba_interface/muamba_interface.strongarm.inc

index d000af1a89f73774070fceef580c52e033feb3aa..2c54e9be753cc033c79f47cd61b248b142bb18ce 100644 (file)
@@ -20,6 +20,8 @@ features[menu_custom][] = "user-menu"
 features[user_permission][] = "access site-wide contact form"
 features[user_permission][] = "access user contact forms"
 features[user_permission][] = "administer contact forms"
+features[variable][] = "captcha_default_challenge"
+features[variable][] = "captcha_placement_map_cache"
 features[variable][] = "colorbox_caption_trim"
 features[variable][] = "colorbox_caption_trim_length"
 features[variable][] = "colorbox_compression_type"
index 84933fd7c9ba2c39e8765f5c8843fcec50511f16..b12cf1ead62262f96ffaf55687f85f1208f13f0e 100644 (file)
 function muamba_interface_strongarm() {
   $export = array();
 
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'captcha_default_challenge';
+  $strongarm->value = 'image_captcha/Image';
+  $export['captcha_default_challenge'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'captcha_placement_map_cache';
+  $strongarm->value = array(
+    'comment_form' => array(
+      'path' => array(),
+      'key' => NULL,
+      'weight' => 18.9,
+    ),
+    'user_register_form' => array(
+      'path' => array(
+        0 => 'actions',
+      ),
+      'key' => 'submit',
+      'weight' => NULL,
+    ),
+    'contact_site_form' => array(
+      'path' => array(
+        0 => 'actions',
+      ),
+      'key' => 'submit',
+      'weight' => NULL,
+    ),
+  );
+  $export['captcha_placement_map_cache'] = $strongarm;
+
   $strongarm = new stdClass;
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;