You are here

interface ESQueryGeneratorInterface in Acquia Content Hub 8

Interface for elastic search query generation.

@package Drupal\acquia_contenthub_audit

Hierarchy

Expanded class hierarchy of ESQueryGeneratorInterface

All classes that implement ESQueryGeneratorInterface

File

acquia_contenthub_subscriber/src/ESQueryGeneratorInterface.php, line 10

Namespace

Drupal\acquia_contenthub_subscriber
View source
interface ESQueryGeneratorInterface {

  /**
   * Obtains an Elasticsearch Query.
   *
   * @param \Drupal\acquia_contenthub_subscriber\ContentHubFilterInterface $filter
   *   The Content Hub Filter.
   * @param string $asset_uuid
   *   The asset UUID.
   * @param string $asset_type
   *   The asset type.
   * @param array $options
   *   The options array.
   *
   * @return mixed
   *   The Elastic Search Query.
   */
  public function getElasticSearchQuery(ContentHubFilterInterface $filter, $asset_uuid, $asset_type, array $options = []);

}

Members

Namesort descending Modifiers Type Description Overrides
ESQueryGeneratorInterface::getElasticSearchQuery public function Obtains an Elasticsearch Query. 1