You are here

public function WebformProtectedDownloadsStorage::getByHash in Webform Protected Downloads 8

Overrides WebformProtectedDownloadsStorageInterface::getByHash

File

src/WebformProtectedDownloadsStorage.php, line 12

Class

WebformProtectedDownloadsStorage

Namespace

Drupal\webform_protected_downloads

Code

public function getByHash(string $hash) {
  return $this
    ->loadByProperties([
    'hash' => $hash,
  ]);
}