You are here

ESQueryGeneratorInterface.php in Acquia Content Hub 8

File

acquia_contenthub_subscriber/src/ESQueryGeneratorInterface.php
View source
<?php

namespace Drupal\acquia_contenthub_subscriber;


/**
 * Interface for elastic search query generation.
 *
 * @package Drupal\acquia_contenthub_audit
 */
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 = []);

}

Interfaces

Namesort descending Description
ESQueryGeneratorInterface Interface for elastic search query generation.