You are here

public function YamlFormSubmission::hasNotes in YAML Form 8

Checks submission notes.

Return value

bool TRUE if the submission has notes.

Overrides YamlFormSubmissionInterface::hasNotes

File

src/Entity/YamlFormSubmission.php, line 502

Class

YamlFormSubmission
Defines the YamlFormSubmission entity.

Namespace

Drupal\yamlform\Entity

Code

public function hasNotes() {
  return $this->notes ? TRUE : FALSE;
}