Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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() {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement