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\EntityCode
public function setSticky($sticky) {
$this
->set('sticky', $sticky);
return $this;
}