QueryTypeInterface.php in Facets 8
Namespace
Drupal\facets\QueryTypeFile
src/QueryType/QueryTypeInterface.phpView 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
Name | Description |
---|---|
QueryTypeInterface | The interface defining the required methods for a query type. |