public function WebformInterface::getPages in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformInterface.php \Drupal\webform\WebformInterface::getPages()
Get webform wizard pages.
Parameters
string $operation: The webform submission operation. Usually 'default', 'add', 'edit', 'edit_all', 'api', or 'test'.
\Drupal\webform\WebformSubmissionInterface|null $webform_submission: (Optional) A webform submission. If a webform submission is defined and the 'wizard_progress_states' is TRUE, wizard page conditional logic will be evaluated.
Return value
array An associative array of webform wizard pages.
See also
\Drupal\webform\Entity\WebformSubmission
1 method overrides WebformInterface::getPages()
- Webform::getPages in src/
Entity/ Webform.php - Get webform wizard pages.
File
- src/
WebformInterface.php, line 878
Class
- WebformInterface
- Provides an interface defining a webform entity.
Namespace
Drupal\webformCode
public function getPages($operation = '', WebformSubmissionInterface $webform_submission = NULL);