You are here

WebformProtectedDownloadsStorageInterface.php in Webform Protected Downloads 8

File

src/WebformProtectedDownloadsStorageInterface.php
View source
<?php

namespace Drupal\webform_protected_downloads;

use Drupal\Core\Entity\ContentEntityStorageInterface;
use Drupal\webform\Entity\WebformSubmission;

/**
 * Defines an interface for webform_protected_downloads entity storage class.
 */
interface WebformProtectedDownloadsStorageInterface extends ContentEntityStorageInterface {
  public function getByHash(string $hash);
  public function getByWebformSubmission(WebformSubmission $webformSubmission);

}

Interfaces

Namesort descending Description
WebformProtectedDownloadsStorageInterface Defines an interface for webform_protected_downloads entity storage class.