You are here

public function WebformSubmission::getSticky in Webform 6.x

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

Get the submission's sticky flag.

Return value

string The submission's stick flag.

Overrides WebformSubmissionInterface::getSticky

File

src/Entity/WebformSubmission.php, line 337

Class

WebformSubmission
Defines the WebformSubmission entity.

Namespace

Drupal\webform\Entity

Code

public function getSticky() {
  return $this
    ->get('sticky')->value;
}