$result = CRM_Contribute_Form_Contribution_Confirm::submit($params);
return civicrm_api3_create_success($result, $params, 'ContributionPage', 'submit');
}
+
+
+/**
+ * Set default getlist parameters.
+ *
+ * @see _civicrm_api3_generic_getlist_defaults
+ *
+ * @param array $request
+ *
+ * @return array
+ */
+function _civicrm_api3_contribution_page_getlist_defaults(&$request) {
+ return array(
+ 'description_field' => array(
+ 'intro_text',
+ ),
+ 'params' => array(
+ 'is_active' => 1,
+ ),
+ );
+}