Created
July 24, 2017 14:31
-
-
Save dbjpanda/222c27ed4490000f20a07834b7119cf3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Drupal\facets_map_widget\Plugin\facets\query_type; | |
use Drupal\facets\QueryType\QueryTypePluginBase; | |
use Drupal\facets\Result\Result; | |
/** | |
* Provides support for location facets within the Search API scope. | |
* | |
* This query type supports latitude/longitude data type. This specific | |
* implementation of the query type supports a generic solution of adding map facets. | |
* | |
* @FacetsQueryType( | |
* id = "search_api_location", | |
* label = @Translation("Location"), | |
* ) | |
*/ | |
class SearchApiLocation extends QueryTypePluginBase { | |
/** | |
* The backend's native query object. | |
* | |
* @var \Drupal\search_api\Query\QueryInterface | |
*/ | |
protected $query; | |
/** | |
* {@inheritdoc} | |
*/ | |
public function execute() { | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function build() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment