CRM-16555 rationalise paypal express behaviour into a generic behaviour (suppress...
[civicrm-core.git] / CRM / Core / Payment.php
index 6e9c301c167065a4d7e39444cdae6655c24266f5..03f43009dd9dfa3668da5539956a1f4f45715527 100644 (file)
@@ -712,6 +712,17 @@ abstract class CRM_Core_Payment {
     return method_exists(CRM_Utils_System::getClassName($this), $method);
   }
 
+  /**
+   * Some processors replace the form submit button with their own.
+   *
+   * Returning false here will leave the button off front end forms.
+   *
+   * At this stage there is zero cross-over between back-office processors and processors that suppress the submit.
+   */
+  public function isSuppressSubmitButtons() {
+    return FALSE;
+  }
+
   /**
    * Get url for users to manage this recurring contribution for this processor.
    *