private function WebformCivicrmPostProcess::isPaymentPage in Webform CiviCRM Integration 8.5
Are billing fields exposed to this webform page?
Return value
bool
1 call to WebformCivicrmPostProcess::isPaymentPage()
- WebformCivicrmPostProcess::validate in src/
WebformCivicrmPostProcess.php - Called after a webform is submitted Or, for a multipage form, called after each page
File
- src/
WebformCivicrmPostProcess.php, line 1781 - Front-end form validation and post-processing.
Class
Namespace
Drupal\webform_civicrmCode
private function isPaymentPage() {
// @todo see if this needs to be more dynamic.
return $this->form_state
->get('current_page') === 'contribution_pagebreak';
}