You are here

public function YamlFormSubmission::setNotes in YAML Form 8

Sets the submission's notes.

Parameters

string $notes: The submission's notes.

Return value

$this

Overrides YamlFormSubmissionInterface::setNotes

File

src/Entity/YamlFormSubmission.php, line 270

Class

YamlFormSubmission
Defines the YamlFormSubmission entity.

Namespace

Drupal\yamlform\Entity

Code

public function setNotes($notes) {
  $this
    ->set('notes', $notes);
  return $this;
}