You are here

QueryTypeInterface.php in Facets 8

File

src/QueryType/QueryTypeInterface.php
View source
<?php

namespace Drupal\facets\QueryType;


/**
 * The interface defining the required methods for a query type.
 */
interface QueryTypeInterface {

  /**
   * Adds facet info to the query using the backend native query object.
   */
  public function execute();

  /**
   * Builds the facet information, so it can be rendered.
   */
  public function build();

}

Interfaces

Namesort descending Description
QueryTypeInterface The interface defining the required methods for a query type.