public function WebformSubmission::hasNotes in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/WebformSubmission.php \Drupal\webform\Entity\WebformSubmission::hasNotes()
Checks submission notes.
Return value
bool TRUE if the submission has notes.
Overrides WebformSubmissionInterface::hasNotes
File
- src/
Entity/ WebformSubmission.php, line 691
Class
- WebformSubmission
- Defines the WebformSubmission entity.
Namespace
Drupal\webform\EntityCode
public function hasNotes() {
return $this->notes ? TRUE : FALSE;
}