add comment
authoreileenmcnaugton <eileen@fuzion.co.nz>
Sun, 16 Aug 2015 02:59:02 +0000 (14:59 +1200)
committereileenmcnaugton <eileen@fuzion.co.nz>
Sun, 16 Aug 2015 02:59:02 +0000 (14:59 +1200)
CRM/Member/Form.php

index 7a4f9e2ae80666f0de5913f73be2879966134c01..0cae51203ad42812cf0305afad2b6f56db16a052 100644 (file)
@@ -275,6 +275,13 @@ class CRM_Member_Form extends CRM_Contribute_Form_AbstractEditPayment {
     }
   }
 
+  /**
+   * Set variables in a way that can be accessed from different places.
+   *
+   * This is part of refactoring for unit testability on the submit function.
+   *
+   * @param array $params
+   */
   protected function setContextVariables($params) {
     $variables = array(
       'action' => '_action',