You are here

public function WebformProtectedDownloads::getHash in Webform Protected Downloads 8

Get hash.

Return value

null|string Return hash if exists.

File

src/Entity/WebformProtectedDownloads.php, line 45

Class

WebformProtectedDownloads
Defines the Webform protected downloads entity.

Namespace

Drupal\webform_protected_downloads\Entity

Code

public function getHash() {
  return $this->hash->value;
}