public function YamlFormSubmission::isSticky in YAML Form 8
Returns the submission sticky status.
Return value
bool TRUE if the submission is sticky.
Overrides YamlFormSubmissionInterface::isSticky
File
- src/
Entity/ YamlFormSubmission.php, line 495
Class
- YamlFormSubmission
- Defines the YamlFormSubmission entity.
Namespace
Drupal\yamlform\EntityCode
public function isSticky() {
return (bool) $this
->get('sticky')->value;
}