You are here

public function WebformSubmission::getCurrentPage in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Entity/WebformSubmission.php \Drupal\webform\Entity\WebformSubmission::getCurrentPage()

Gets the submission's current page.

Return value

string The submission's current page.

Overrides WebformSubmissionInterface::getCurrentPage

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

File

src/Entity/WebformSubmission.php, line 375

Class

WebformSubmission
Defines the WebformSubmission entity.

Namespace

Drupal\webform\Entity

Code

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