protected function WebformSubmissionForm::getFirstPage in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformSubmissionForm.php \Drupal\webform\WebformSubmissionForm::getFirstPage()
Get first page's key.
Parameters
array $pages: An associative array of visible wizard pages.
Return value
null|string The first page's key.
2 calls to WebformSubmissionForm::getFirstPage()
- WebformSubmissionForm::actions in src/
WebformSubmissionForm.php - Returns an array of supported actions for the current entity form.
- WebformSubmissionForm::attachBehaviors in src/
WebformSubmissionForm.php - Attach behaviors with libraries to the form.
File
- src/
WebformSubmissionForm.php, line 2174
Class
- WebformSubmissionForm
- Provides a webform to collect and edit submissions.
Namespace
Drupal\webformCode
protected function getFirstPage(array $pages) {
return WebformArrayHelper::getFirstKey($pages);
}