You are here

public function WebformSubmission::setNotes in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Entity/WebformSubmission.php \Drupal\webform\Entity\WebformSubmission::setNotes()

Sets the submission's notes.

Parameters

string $notes: The submission's notes.

Return value

$this

Overrides WebformSubmissionInterface::setNotes

File

src/Entity/WebformSubmission.php, line 329

Class

WebformSubmission
Defines the WebformSubmission entity.

Namespace

Drupal\webform\Entity

Code

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