You are here

interface QueryTypeInterface in Facets 8

The interface defining the required methods for a query type.

Hierarchy

Expanded class hierarchy of QueryTypeInterface

All classes that implement QueryTypeInterface

File

src/QueryType/QueryTypeInterface.php, line 8

Namespace

Drupal\facets\QueryType
View source
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();

}

Members

Namesort descending Modifiers Type Description Overrides
QueryTypeInterface::build public function Builds the facet information, so it can be rendered. 3
QueryTypeInterface::execute public function Adds facet info to the query using the backend native query object. 3