You are here

public function WebformSubmissionConditionsValidatorInterface::buildPages in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformSubmissionConditionsValidatorInterface.php \Drupal\webform\WebformSubmissionConditionsValidatorInterface::buildPages()

Apply states (aka conditional logic) to wizard pages.

Parameters

array $pages: An associative array of webform wizard pages.

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

Return value

array An associative array of webform wizard pages with hidden pages removed.

1 method overrides WebformSubmissionConditionsValidatorInterface::buildPages()
WebformSubmissionConditionsValidator::buildPages in src/WebformSubmissionConditionsValidator.php
Apply states (aka conditional logic) to wizard pages.

File

src/WebformSubmissionConditionsValidatorInterface.php, line 23

Class

WebformSubmissionConditionsValidatorInterface
Provides an interface defining a webform conditions (#states) validator.

Namespace

Drupal\webform

Code

public function buildPages(array $pages, WebformSubmissionInterface $webform_submission);