You are here

public function YamlFormSubmission::getCurrentPage in YAML Form 8

Gets the submission's current page.

Return value

string The submission's current page.

Overrides YamlFormSubmissionInterface::getCurrentPage

1 call to YamlFormSubmission::getCurrentPage()
YamlFormSubmission::getCurrentPageTitle in src/Entity/YamlFormSubmission.php
Get the submission's current page title.

File

src/Entity/YamlFormSubmission.php, line 308

Class

YamlFormSubmission
Defines the YamlFormSubmission entity.

Namespace

Drupal\yamlform\Entity

Code

public function getCurrentPage() {
  return $this
    ->get('current_page')->value;
}