You are here

public function YamlFormSubmission::setSticky in YAML Form 8

Sets the submission's sticky flag.

Parameters

bool $sticky: The submission's stick flag.

Return value

$this

Overrides YamlFormSubmissionInterface::setSticky

File

src/Entity/YamlFormSubmission.php, line 285

Class

YamlFormSubmission
Defines the YamlFormSubmission entity.

Namespace

Drupal\yamlform\Entity

Code

public function setSticky($sticky) {
  $this
    ->set('sticky', $sticky);
  return $this;
}