public function YamlFormSubmission::setCurrentPage in YAML Form 8
Sets the submission's current page.
Parameters
string $current_page: The submission's current page.
Return value
$this
Overrides YamlFormSubmissionInterface::setCurrentPage
File
- src/
Entity/ YamlFormSubmission.php, line 315
Class
- YamlFormSubmission
- Defines the YamlFormSubmission entity.
Namespace
Drupal\yamlform\EntityCode
public function setCurrentPage($current_page) {
$this
->set('current_page', $current_page);
return $this;
}