* @copyright CiviCRM LLC https://civicrm.org/licensing
*/
class CRM_Contribute_Form_ContributionPage_Widget extends CRM_Contribute_Form_ContributionPage {
- protected $_colors;
+ /**
+ * Configuration for each form field
+ *
+ * @var array
+ * @internal
+ */
+ public $_fields = [];
+
+ /**
+ * Configuration for each color field
+ *
+ * @var array
+ * @internal
+ */
+ public $_colorFields = [];
+
+ /**
+ * @var CRM_Contribute_DAO_Widget
+ */
protected $_widget;
+ /**
+ * Name of the refresh button,
+ * used to display the widget preview
+ *
+ * @var string
+ */
+ protected $_refreshButtonName;
+
public function preProcess() {
parent::preProcess();
$this->setSelectedChild('widget');