Loading src/Plugin/WebformHandler/WebformNavigationHandler.php +1 −1 Original line number Diff line number Diff line Loading @@ -178,7 +178,7 @@ class WebformNavigationHandler extends WebformHandlerBase { // Get navigation webform settings. $forward_navigation = $webform->getThirdPartySetting('webformnavigation', 'forward_navigation'); // Actions to perform if forward navigation is enabled and there are pages. if ($forward_navigation) { if ($forward_navigation && $webform->hasWizardPages()) { $this->webformNavigationHelper->logPageErrors($webform_submission, $form_state); } } Loading src/WebformNavigationHelper.php +1 −1 Original line number Diff line number Diff line Loading @@ -378,7 +378,7 @@ class WebformNavigationHelper { * * @throws \Drupal\Core\Entity\EntityStorageException */ public function validateSinglePage(WebformSubmissionInterface $webform_submission, string $page) { private function validateSinglePage(WebformSubmissionInterface $webform_submission, string $page) { // Stash the current page. $current_page = $webform_submission->getCurrentPage(); // Let's ensure we are on the page that needs to be validated. Loading Loading
src/Plugin/WebformHandler/WebformNavigationHandler.php +1 −1 Original line number Diff line number Diff line Loading @@ -178,7 +178,7 @@ class WebformNavigationHandler extends WebformHandlerBase { // Get navigation webform settings. $forward_navigation = $webform->getThirdPartySetting('webformnavigation', 'forward_navigation'); // Actions to perform if forward navigation is enabled and there are pages. if ($forward_navigation) { if ($forward_navigation && $webform->hasWizardPages()) { $this->webformNavigationHelper->logPageErrors($webform_submission, $form_state); } } Loading
src/WebformNavigationHelper.php +1 −1 Original line number Diff line number Diff line Loading @@ -378,7 +378,7 @@ class WebformNavigationHelper { * * @throws \Drupal\Core\Entity\EntityStorageException */ public function validateSinglePage(WebformSubmissionInterface $webform_submission, string $page) { private function validateSinglePage(WebformSubmissionInterface $webform_submission, string $page) { // Stash the current page. $current_page = $webform_submission->getCurrentPage(); // Let's ensure we are on the page that needs to be validated. Loading