You are here

interface WebformProtectedDownloadsManagerInterface in Webform Protected Downloads 8

Interface WebformProtectedDownloadsManagerInterface.

@package Drupal\webform_protected_downloads

Hierarchy

Expanded class hierarchy of WebformProtectedDownloadsManagerInterface

All classes that implement WebformProtectedDownloadsManagerInterface

File

src/WebformProtectedDownloadsManagerInterface.php, line 10

Namespace

Drupal\webform_protected_downloads
View source
interface WebformProtectedDownloadsManagerInterface {

  /**
   * Function will search submission by uuid.
   *
   * @param string $uuid
   *   Uuid.
   *
   * @return mixed
   *   Return value or FALSE.
   */
  public function getSubmissionByUuid($uuid);

  /**
   * Get WebformProtectedDownloads entity by hash.
   *
   * @param string $hash
   *   The hash.
   *
   * @return mixed
   *   Return entity or false.
   */
  public function getSubmissionByHash($hash);

}

Members

Namesort descending Modifiers Type Description Overrides
WebformProtectedDownloadsManagerInterface::getSubmissionByHash public function Get WebformProtectedDownloads entity by hash. 1
WebformProtectedDownloadsManagerInterface::getSubmissionByUuid public function Function will search submission by uuid. 1