From 0271af37fbbe0d32f7c50c8ed821b14e315cf682 Mon Sep 17 00:00:00 2001 From: eileenmcnaugton Date: Sun, 16 Aug 2015 14:59:02 +1200 Subject: [PATCH] add comment --- CRM/Member/Form.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CRM/Member/Form.php b/CRM/Member/Form.php index 7a4f9e2ae8..0cae51203a 100644 --- a/CRM/Member/Form.php +++ b/CRM/Member/Form.php @@ -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', -- 2.25.1